Files
puppet-tripleo/manifests
Luca Miccini 392eacb092 Force --hostonly when regenerating the initramfs
The dracut-config-generic package (sometimes installed by default in
the overcloud image) provides a configuration file that turns off the
host-specific initramfs generation with dracut:

$ cat /usr/lib/dracut/dracut.conf.d/02-generic-image.conf
hostonly="no"

The result is that the generated initrams does not contain:

- /etc/systemd/journald.conf
- /etc/systemd/system.conf
- /etc/hostname
- /etc/machine-id
- /etc/vconsole.conf
- /etc/locale.conf
- /etc/modules-load.d/*.conf
- /etc/sysctl.d/*.conf
- /etc/sysctl.conf

Especially problematic is the absence of sysctl.conf when ipv6 is
disabled via "KernelDisableIPv6: 1" because we end up half-disabling
ipv6 and services like rpbcind end up in failed state.

Original issue: https://bugs.launchpad.net/tripleo/+bug/1830574

This commit builds on top of https://review.opendev.org/#/c/661528/
adding the '--hostonly' option to dracut so to bypass 'hostonly="no"'
eventually contained in the default config file.

Change-Id: Ia4a39721268fe9bb0fdcc8bf4eb148263d4df46e
2019-06-21 21:38:25 +00:00
..
2019-03-28 16:28:05 -04:00
2019-02-25 22:51:07 +01:00
2019-06-15 08:35:33 -06:00
2019-06-15 08:35:33 -06:00
2019-02-25 22:51:07 +01:00
2019-02-25 22:51:07 +01:00
2018-04-19 13:31:46 +00:00
2019-06-04 18:07:21 +00:00
2019-01-23 15:40:16 +01:00
2018-05-28 13:40:29 +02:00