Skip to content

Commit

Permalink
fix: reset cloud-init state (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsander-souza authored Jun 25, 2024
1 parent 6682b3b commit 9929d0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ubuntu/scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
export DEBIAN_FRONTEND=noninteractive

# Reset cloud-init, so that it can run again when MAAS deploy the image.
cloud-init clean --logs

apt-get autoremove --purge -yq
apt-get clean -yq

0 comments on commit 9929d0b

Please sign in to comment.