Go to file
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
2018-02-28 14:42:12 +08:00
2019-03-28 16:28:05 -04:00
2019-06-13 17:53:04 -04:00
2019-04-19 19:35:27 +00:00
2017-01-25 19:32:31 +00:00
2018-06-27 22:47:34 +08:00
2017-10-06 12:28:56 -07:00
2018-10-16 11:40:19 +08:00

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing

Description
RETIRED, Lightweight composition layer for Puppet TripleO
Readme 63 MiB