Skip to content

Commit

Permalink
Make manual machine cleanup script a bit more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleasa committed Jul 13, 2020
1 parent 94f902c commit 8a19265
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cloudconfig/userdatacfg_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ for path_to_unit in $(ls /etc/systemd/system/juju*); do
rm -f "$path_to_unit"
done
echo "removing /var/lib/juju/tools/*"
rm -rf /var/lib/juju/tools/*
echo "removing /var/lib/juju/db/*"
rm -rf /var/lib/juju/db/*
Expand Down

0 comments on commit 8a19265

Please sign in to comment.