Fix -a to --all

made error with modification in previous commit
This commit is contained in:
Arif Ali 2022-10-24 12:11:35 +01:00
parent c8be8632e5
commit 6e474ca18c
Signed by: arif
GPG Key ID: 369608FBA1353A70

View File

@ -211,8 +211,8 @@ jq -r ".applications | to_entries[] | select(.value[\"charm-name\"] == \"haclust
do_vault
# remove DNS entry for external network
${juju_run} -a -- sudo sed -i -e s/192.168.1.13,//g -e s/192.168.1.9,//g /etc/netplan/99-juju.yaml
${juju_run} -a -- "sudo netplan apply ; sudo systemctl restart systemd-resolved"
${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 ; sudo systemctl restart systemd-resolved"
ceph_osd_apps=$(jq -rc ".applications | to_entries[] | select(.value[\"charm-name\"] == \"ceph-osd\") | .key" "${juju_status}")