From: Jóhann B. Guðmundsson Date: Wed, 21 Apr 2021 11:57:32 +0000 (+0000) Subject: fix(systemd): include hosts and nsswitch.conf in hostonly mode X-Git-Tag: 054~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5912f4fbc036cc36b9507c16dddef1ded1556572;p=thirdparty%2Fdracut.git fix(systemd): include hosts and nsswitch.conf in hostonly mode Adding /etc/hosts and /etc/nsswitch.conf to the hostonly install section. --- diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh index 809cd6c46..ff1981332 100755 --- a/modules.d/00systemd/module-setup.sh +++ b/modules.d/00systemd/module-setup.sh @@ -174,7 +174,9 @@ install() { /etc/systemd/journald.conf.d/*.conf \ /etc/systemd/system.conf \ /etc/systemd/system.conf.d/*.conf \ + /etc/hosts \ /etc/hostname \ + /etc/nsswitch.conf \ /etc/machine-id \ /etc/machine-info \ /etc/vconsole.conf \