diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-10-25 12:46:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-10-25 12:46:12 +0000 |
commit | 277aea80e892f61104bf99cfa1c2bf48df352283 (patch) | |
tree | 78ee99053db40499cf2370eda0987be962915928 /share/scripts/debconf | |
parent | Removing obsolete configuration for broadcast in interfaces of debconf contai... (diff) | |
download | compute-tools-277aea80e892f61104bf99cfa1c2bf48df352283.tar.xz compute-tools-277aea80e892f61104bf99cfa1c2bf48df352283.zip |
Removing obsolete configuration for network in interfaces of debconf container create script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/debconf')
-rwxr-xr-x | share/scripts/debconf | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index e3f5936..155c022 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -739,7 +739,6 @@ EOF eval IPV4_ADDRESS="$`echo NETWORK${NUMBER}_IPV4_ADDRESS`" eval IPV4_GATEWAY="$`echo NETWORK${NUMBER}_IPV4_GATEWAY`" eval IPV4_NETMASK="$`echo NETWORK${NUMBER}_IPV4_NETMASK`" - eval IPV4_NETWORK="$`echo NETWORK${NUMBER}_IPV4_NETWORK`" eval IPV4_POST_UP="$`echo NETWORK${NUMBER}_IPV4_POST_UP`" eval IPV4_POST_DOWN="$`echo NETWORK${NUMBER}_IPV4_POST_DOWN`" @@ -791,11 +790,6 @@ EOF echo " netmask ${IPV4_NETMASK}" >> "${DIRECTORY}/etc/network/interfaces.tmp" fi - if [ -n "${IPV4_NETWORK}" ] - then - echo " network ${IPV4_NETWORK}" >> "${DIRECTORY}/etc/network/interfaces.tmp" - fi - if [ -n "${IPV4_POST_UP}" ] then echo " post-up ${IPV4_POST_UP}" >> "${DIRECTORY}/etc/network/interfaces.tmp" |