gate: add a second upstream DNS server
We get transient DNS failures, having a second DNS server should help. Change-Id: I8307ba0c2b8f2b12eb714dfd8b7034c7645ff288
This commit is contained in:
parent
c587481749
commit
22488a5c14
@ -28,7 +28,8 @@ function net_resolv_pre_kube {
|
||||
sudo cp -f /etc/resolv.conf /etc/resolv-pre-kube.conf
|
||||
sudo rm -f /etc/resolv.conf
|
||||
cat << EOF | sudo tee /etc/resolv.conf
|
||||
nameserver ${UPSTREAM_DNS}
|
||||
nameserver ${UPSTREAM_DNS1}
|
||||
nameserver ${UPSTREAM_DNS2}
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,8 @@ export GLANCE=${GLANCE:-"radosgw"}
|
||||
export SDN_PLUGIN=${SDN_PLUGIN:-"ovs"}
|
||||
|
||||
# Set Upstream DNS
|
||||
export UPSTREAM_DNS=${UPSTREAM_DNS:-"8.8.8.8"}
|
||||
export UPSTREAM_DNS1=${UPSTREAM_DNS1:-"8.8.8.8"}
|
||||
export UPSTREAM_DNS2=${UPSTREAM_DNS2:-"8.8.4.4"}
|
||||
|
||||
# Set gate script timeouts
|
||||
export NODE_START_TIMEOUT=${NODE_START_TIMEOUT:="480"}
|
||||
|
Loading…
Reference in New Issue
Block a user