From e69f60957c669b46bdc364daa9878b6b930c0e39 Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 9 Oct 2018 18:09:38 +0000 Subject: [PATCH] .... me being anal... --- debian/wit-network-config.postinst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 8d90957..648cf9a 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -25,9 +25,6 @@ case "$1" in ## START gather all the info from the box and generate the variabels - IFCONFIG="/etc/network/interfaces" - UDEVCONFIG="/etc/udev/rules.d/70-persistent-net.rules" - export LOOPBACKv4=$(dig a +short ${HOSTNAME}) export LOOPBACKv6=$(dig aaaa +short ${HOSTNAME}) NODEASN=$(dig txt +short asn.${HOSTNAME}) @@ -47,6 +44,8 @@ case "$1" in ## START nic config compile + IFCONFIG="/etc/network/interfaces" + UDEVCONFIG="/etc/udev/rules.d/70-persistent-net.rules" # gathering supported interfaces declare -A MACS