fixing DNS querry for bastion public IP

This commit is contained in:
toby 2018-11-06 21:14:44 +01:00
parent 01d5a92771
commit b5caf073ba
1 changed files with 1 additions and 1 deletions

View File

@ -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