.... me being anal...
This commit is contained in:
parent
347291d1a9
commit
e69f60957c
|
@ -25,9 +25,6 @@ case "$1" in
|
||||||
## START gather all the info from the box and generate the variabels
|
## 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 LOOPBACKv4=$(dig a +short ${HOSTNAME})
|
||||||
export LOOPBACKv6=$(dig aaaa +short ${HOSTNAME})
|
export LOOPBACKv6=$(dig aaaa +short ${HOSTNAME})
|
||||||
NODEASN=$(dig txt +short asn.${HOSTNAME})
|
NODEASN=$(dig txt +short asn.${HOSTNAME})
|
||||||
|
@ -47,6 +44,8 @@ case "$1" in
|
||||||
|
|
||||||
## START nic config compile
|
## START nic config compile
|
||||||
|
|
||||||
|
IFCONFIG="/etc/network/interfaces"
|
||||||
|
UDEVCONFIG="/etc/udev/rules.d/70-persistent-net.rules"
|
||||||
|
|
||||||
# gathering supported interfaces
|
# gathering supported interfaces
|
||||||
declare -A MACS
|
declare -A MACS
|
||||||
|
|
Loading…
Reference in New Issue