diff --git a/fix_cloud.sh b/fix_cloud.sh index 0d43eb0..fb38431 100755 --- a/fix_cloud.sh +++ b/fix_cloud.sh @@ -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}")