Created
February 15, 2021 06:03
-
-
Save ianmcmahon/85b953825009500e4b9398370e05fe22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
hostname: ${hostname} | |
users: | |
- name: ubuntu | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
groups: users, admin | |
home: /home/ubuntu | |
shell: /bin/bash | |
lock_passwd: false | |
ssh-authorized-keys: "ssh-rsa ..." | |
ssh_pwauth: false | |
disable_root: false | |
packages: | |
- htop | |
runcmd: | |
- apt update | |
- apt upgrade -y | |
- apt autoremove -y --purge | |
- reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment