Revert nsd changes
This commit is contained in:
parent
8b2f7f2e4c
commit
a4c5f14237
2 changed files with 1 additions and 8 deletions
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
@ -32,6 +32,7 @@ Vagrant.configure("2") do |config|
|
||||||
export NONINTERACTIVE=1
|
export NONINTERACTIVE=1
|
||||||
export PUBLIC_IP=192.168.50.4
|
export PUBLIC_IP=192.168.50.4
|
||||||
export PUBLIC_IPV6=auto
|
export PUBLIC_IPV6=auto
|
||||||
|
export PRIVATE_IP=192.168.50.4
|
||||||
export PRIMARY_HOSTNAME=auto
|
export PRIMARY_HOSTNAME=auto
|
||||||
export SKIP_NETWORK_CHECKS=1
|
export SKIP_NETWORK_CHECKS=1
|
||||||
# Start the setup script.
|
# Start the setup script.
|
||||||
|
|
|
@ -66,14 +66,6 @@ for ip in $PRIVATE_IP $PRIVATE_IPV6; do
|
||||||
echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
|
echo " ip-address: $ip" >> /etc/nsd/nsd.conf;
|
||||||
done
|
done
|
||||||
|
|
||||||
# If applicable: Also make sure we bind to the public interface
|
|
||||||
if [ "$PRIVATE_IP" != "$PUBLIC_IP" ]; then
|
|
||||||
echo " ip-address: $PUBLIC_IP" >> /etc/nsd/nsd.conf;
|
|
||||||
fi
|
|
||||||
if [ "$PRIVATE_IPV6" != "$PUBLIC_IPV6" ]; then
|
|
||||||
echo " ip-address: $PUBLIC_IPV6" >> /etc/nsd/nsd.conf;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
|
echo "include: /etc/nsd/zones.conf" >> /etc/nsd/nsd.conf;
|
||||||
|
|
||||||
# Attempting a late install of nsd (after configuration)
|
# Attempting a late install of nsd (after configuration)
|
||||||
|
|
Loading…
Reference in a new issue