From cb784693cb6dee1a5d5a5f76882ccbfc45b9987d Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Wed, 6 Feb 2019 13:45:46 +0200 Subject: [PATCH] TT#49212 Remove 'lo dhcp' line as it breaks stretch GRML 2018.12 adds 'iface lo inet dhcp' line to /etc/network/interfaces which is used in stretch system. This line breaks networking service on boot so it isn't properly restarted in system_restart_network function so network configuration is not complete. Change-Id: I5e2ec763fea7db6f605e87b171514a985b0de621 --- templates/scripts/includes/deployment.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/scripts/includes/deployment.sh b/templates/scripts/includes/deployment.sh index 317d109..abe6500 100755 --- a/templates/scripts/includes/deployment.sh +++ b/templates/scripts/includes/deployment.sh @@ -1710,6 +1710,7 @@ EOT fi echo "Copying /etc/network/interfaces ..." cp /etc/network/interfaces "${TARGET}/etc/network/" + sed -i '/iface lo inet dhcp/d' "${TARGET}/etc/network/interfaces" unset method netcardconf else die "Error during installation of ngcp. Find details at: ${TARGET}/var/log/ngcp-installer.log"