From 6e474ca18c4ac1c3fbe841caa808bde3f5f2e1dd Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 24 Oct 2022 12:11:35 +0100 Subject: [PATCH] Fix -a to --all made error with modification in previous commit --- fix_cloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}")