Overview
Request 817497 accepted
When setting up a VM for use with salt development for Heroes, initial_setup.sh configures
DNS_STATIC_SERVERS="192.168.122.1192.168.47.101 192.168.47.102"
which results in /etc/resolv.conf containing
nameserver 192.168.122.1192.168.47.101
nameserver 192.168.47.102
which is obviously broken.
This happens because initial_setup.sh tries, and fails, to extend a list of default hosts (given by config.sh). As a fix, I suggest the script should always configure the complete list of static DNS servers, since you can't meaningfully reuse and extend the defaults across the environments the script caters to.
Request History
oreinert created request
When setting up a VM for use with salt development for Heroes, initial_setup.sh configures
DNS_STATIC_SERVERS="192.168.122.1192.168.47.101 192.168.47.102"
which results in /etc/resolv.conf containing
nameserver 192.168.122.1192.168.47.101
nameserver 192.168.47.102
which is obviously broken.
This happens because initial_setup.sh tries, and fails, to extend a list of default hosts (given by config.sh). As a fix, I suggest the script should always configure the complete list of static DNS servers, since you can't meaningfully reuse and extend the defaults across the environments the script caters to.
cboltz accepted request
nice catch, thanks!