Updated openstack-helm-infra for Ubuntu 18.04
Updated the commit id for openstack-helm-infra to include fix for name resolution issue for Ubuntu 18.04 Change-Id: I32e691696b72c67e88df83b0d511aece380faa46
This commit is contained in:
parent
f00f35a2ab
commit
0b0ef0f222
|
@ -19,7 +19,7 @@ set -xe
|
|||
|
||||
CURRENT_DIR="$(pwd)"
|
||||
: "${INSTALL_PATH:="../"}"
|
||||
: "${OSH_INFRA_COMMIT:="8ba46703ee9fab0115e4b7f62ea43e0798c36872"}"
|
||||
: "${OSH_INFRA_COMMIT:="eacf93722136636dcfbd2b68c59b71f071ffc085"}"
|
||||
: "${CLONE_ARMADA:=true}"
|
||||
: "${CLONE_DECKHAND:=true}"
|
||||
: "${CLONE_SHIPYARD:=true}"
|
||||
|
|
|
@ -40,4 +40,13 @@ if echo $(groups) | grep -qv 'docker'; then
|
|||
fi
|
||||
END_SCRIPT
|
||||
|
||||
# clean up /etc/resolv.conf, if it includes a loaclhost dns address
|
||||
_RESOLV_CONF="/etc/resolv.conf"
|
||||
sudo cp ${_RESOLV_CONF} ${_RESOLV_CONF}.bkp
|
||||
cat ${_RESOLV_CONF}
|
||||
if [[ ! -z $(cat ${_RESOLV_CONF} | awk '/nameserver/ && /127.0.0.1/') ]]; then
|
||||
sudo sed -i '/^nameserver.*127.0.0.1/d' ${_RESOLV_CONF}
|
||||
fi
|
||||
cat ${_RESOLV_CONF}
|
||||
|
||||
cd "${CURRENT_DIR}"
|
||||
|
|
Loading…
Reference in New Issue