Created
January 17, 2022 06:16
-
-
Save denzuko/0ab64aecbeac5fba578b89e5dde8fa2e to your computer and use it in GitHub Desktop.
Example user-data
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 | |
# vim: set ts=2 sw=2 filetype=yaml: | |
#/boot/user-data | |
--- | |
hostname: pi.local | |
manage_etc_hosts: true | |
users: | |
- name: pirate | |
gecos: "Hypriot Pirate" | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
shell: /bin/bash | |
groups: users,docker,video,input | |
plain_text_passwd: hypriot | |
lock_passwd: false | |
ssh_pwauth: true | |
chpasswd: { expire: false } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment