From 4222a91f982f3bcddda6bab315a65ccb5f3f0212 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 9 Jul 2014 12:33:59 +0200 Subject: [PATCH] MT#8045 Do not re-generate /etc/network/interfaces when installing plain Debian --- deployment.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index 6d29c24..671e326 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1627,7 +1627,9 @@ EOT fi if "$RETRIEVE_MGMT_CONFIG" ; then - echo "Nothing to do, /etc/network/interfaces was already set up." + echo "Nothing to do (RETRIEVE_MGMT_CONFIG is set), /etc/network/interfaces was already set up." +elif ! "$NGCP_INSTALLER" ; then + echo "Not modifying /etc/network/interfaces as installing plain Debian." elif "$DHCP" ; then cat > $TARGET/etc/network/interfaces << EOF # This file describes the network interfaces available on your system