From 47f07029fea756c7fbc4d131d4e026408a0bef5a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 22 Jul 2017 13:47:50 +0200 Subject: Removing unreachable fallback for veth0, always the short-hostname is used anyway. Signed-off-by: Daniel Baumann --- share/scripts/debconf.d/0003-debconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3