Last active
February 28, 2023 01:10
-
-
Save zackbradys/251d5095dded9fa8e000f0207bda659a to your computer and use it in GitHub Desktop.
This file contains 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 | |
#simple cloud-init user-data | |
#reach out with questions to @zackbradys | |
package_update: true | |
packages: | |
- qemu-guest-agent | |
- sudo | |
- wget | |
- tree | |
- vim | |
package_upgrade: false | |
runcmd: | |
- - systemctl | |
- enable | |
- --now | |
- qemu-guest-agent.service | |
users: | |
- name: root | |
hashed_passwd: #HASHED-PWD-HERE | |
lock_passwd: false | |
shell: /bin/bash | |
ssh_authorized_keys: | |
- ssh-rsa #ID-RSA.PUB-HERE | |
- name: #USERNAME | |
hashed_passwd: #HASHED-PWD-HERE | |
lock_passwd: false | |
shell: /bin/bash | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
ssh_authorized_keys: | |
- ssh-rsa #ID-RSA.PUB-HERE | |
disable_root: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment