use cloud-init correctly

This commit is contained in:
Aiden McClelland
2022-01-19 15:03:15 -07:00
committed by Aiden McClelland
parent 38d4da9f86
commit 9d13c48640
4 changed files with 181 additions and 8 deletions

View File

@@ -58,9 +58,9 @@ ControlPort 9051
CookieAuthentication 1
EOF
passwd -l ubuntu
echo 'overlayroot="tmpfs":swap=1,recurse=0' > /etc/overlayroot.local.conf
systemctl disable initialization.service
sudo systemctl restart NetworkManager
sync
reboot
cloud-init clean --reboot