Simple cloud init script for Ubuntu servers

Will update this as I go, may need a separate one for boinc.

runcmd:

– sudo apt update && sudo apt -y upgrade

– sudo timedatectl set-timezone America/Toronto

– sudo hostnamectl hostname <hostname>

– sudo ufw allow ssh

– sudo ufw enable

– sudo reboot

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.