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
changes/00/27000/1
Mykola Malkov 6 years ago
parent 2bd0b68f99
commit cb784693cb

@ -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"

Loading…
Cancel
Save