fixing DNS querry for bastion public IP
This commit is contained in:
parent
01d5a92771
commit
b5caf073ba
|
@ -84,7 +84,7 @@ case "$1" in
|
|||
|
||||
EOF
|
||||
|
||||
PUBLICLOIP=$(dig_a public.loopback.${HOSTNAME}) || true
|
||||
PUBLICLOIP=$(dig_a public.${HOSTNAME}) || true
|
||||
if [[ ! -z $PUBLICLOIP ]]; then
|
||||
cat <<-EOF >>$IFCONFIG
|
||||
iface lo inet static
|
||||
|
|
Loading…
Reference in New Issue