From 5912f4fbc036cc36b9507c16dddef1ded1556572 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B3hann=20B=2E=20Gu=C3=B0mundsson?= Date: Wed, 21 Apr 2021 11:57:32 +0000 Subject: [PATCH] fix(systemd): include hosts and nsswitch.conf in hostonly mode Adding /etc/hosts and /etc/nsswitch.conf to the hostonly install section. --- modules.d/00systemd/module-setup.sh | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- 2.47.3