Add some DNS fixes

This commit is contained in:
Arif Ali 2022-07-22 09:42:40 +01:00
parent 92171b0492
commit aff1ce1ef1
Signed by: arif
GPG Key ID: 369608FBA1353A70

View File

@ -195,6 +195,11 @@ jq -r ".applications | to_entries[] | select(.value[\"charm-name\"] == \"haclust
do_vault
# remove DNS entry for external network
juju run --all -- sudo sed -i -e s/192.168.1.13,//g -e s/192.168.1.9,//g /etc/netplan/99-juju.yaml
juju run --all -- sudo netplan apply
# Ensure DNS works on all the nodes
juju run --all -- sudo systemctl restart systemd-resolved
ceph_osd_apps=$(jq -rc ".applications | to_entries[] | select(.value[\"charm-name\"] == \"ceph-osd\") | .key" "${juju_status}")