summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf.d/0003-debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-25 12:46:12 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-25 12:46:12 +0000
commit277aea80e892f61104bf99cfa1c2bf48df352283 (patch)
tree78ee99053db40499cf2370eda0987be962915928 /share/scripts/debconf.d/0003-debconf
parentRemoving obsolete configuration for broadcast in interfaces of debconf contai... (diff)
downloadcompute-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.d/0003-debconf')
-rwxr-xr-xshare/scripts/debconf.d/0003-debconf18
1 files changed, 0 insertions, 18 deletions
diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf
index b232afc..92d9f0e 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -717,9 +717,6 @@ Network ()
db_get cnt-debconf/network0/ipv4-netmask
NETWORK0_IPV4_NETMASK="${RET}" # string (w/o empty)
- db_get cnt-debconf/network0/ipv4-network
- NETWORK0_IPV4_NETWORK="${RET}" # string (w/ empty)
-
db_get cnt-debconf/network0/ipv4-post-up
NETWORK0_IPV4_POST_UP="${RET}" # string (w/ empty)
@@ -761,9 +758,6 @@ Network ()
db_set cnt-debconf/network0/ipv4-netmask "${NETWORK0_IPV4_NETMASK}"
db_fset cnt-debconf/network0/ipv4-netmask seen false
- db_set cnt-debconf/network0/ipv4-network "${NETWORK0_IPV4_NETWORK}"
- db_fset cnt-debconf/network0/ipv4-network seen false
-
db_set cnt-debconf/network0/ipv4-post-up "${NETWORK0_IPV4_POST_UP}"
db_fset cnt-debconf/network0/ipv4-post-up seen false
@@ -817,10 +811,6 @@ Network ()
db_go
db_settitle cnt-debconf/title
- db_input high cnt-debconf/network0/ipv4-network || true
- db_go
-
- db_settitle cnt-debconf/title
db_input high cnt-debconf/network0/ipv4-post-up || true
db_go
@@ -873,11 +863,6 @@ Network ()
eval NETWORK${NUMBER}_IPV4_NETMASK="\"${RET}\"" # string (w/o empty)
fi
- if db_get cnt-debconf/network${NUMBER}/ipv4-network
- then
- eval NETWORK${NUMBER}_IPV4_NETWORK="\"${RET}\"" # string (w/ empty)
- fi
-
if db_get cnt-debconf/network${NUMBER}/ipv4-post-up
then
eval NETWORK${NUMBER}_IPV4_POST_UP="\"${RET}\"" # string (w/ empty)
@@ -932,9 +917,6 @@ Network ()
eval NETMASK="$`echo NETWORK${NUMBER}_IPV4_NETMASK`"
echo "NETWORK${NUMBER}_IPV4_NETMASK=\"${NETMASK}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
- eval NETWORK="$`echo NETWORK${NUMBER}_IPV4_NETWORK`"
- echo "NETWORK${NUMBER}_IPV4_NETWORK=\"${NETWORK}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
-
eval POST_UP="$`echo NETWORK${NUMBER}_IPV4_POST_UP`"
echo "NETWORK${NUMBER}_IPV4_POST_UP=\"${POST_UP}\"" >> "${DEBCONF_TMPDIR}/debconf.default"