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