summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf.d/0003-debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-22 11:47:50 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-07-22 22:28:26 +0000
commit47f07029fea756c7fbc4d131d4e026408a0bef5a (patch)
tree82473221f2548716b471e9563f1c99e5deba9717 /share/scripts/debconf.d/0003-debconf
parentUsing default eno1 instead of eth0 as default container interface. (diff)
downloadcompute-tools-47f07029fea756c7fbc4d131d4e026408a0bef5a.tar.xz
compute-tools-47f07029fea756c7fbc4d131d4e026408a0bef5a.zip
Removing unreachable fallback for veth0, always the short-hostname is used anyway.
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-debconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf
index 9640620..23266f0 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -694,7 +694,7 @@ Network_defaults ()
# * add support for bridges (make interface configuration more generic?)
HOSTNAME_SHORT="$(echo veth-$(echo ${NAME} | cut -c-8)-0)"
- VETH_NAME="$(echo ${HOSTNAME_SHORT:-veth0})"
+ VETH_NAME="${HOSTNAME_SHORT}"
NETWORK0_VETH="${NETWORK0_VETH:-$VETH_NAME}"
NETWORK0_BRIDGE="${NETWORK0_BRIDGE:-bridge0}"