Skip to content

Instantly share code, notes, and snippets.

@szydell
Last active May 2, 2020 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szydell/c2d2053a871c9584592effbb44f704bd to your computer and use it in GitHub Desktop.
Save szydell/c2d2053a871c9584592effbb44f704bd to your computer and use it in GitHub Desktop.
#cloud-config
# vim: syntax=yaml
#
hostname: zmien
manage_etc_hosts: true
apt_preserve_sources_list: true
users:
- name: pirate # tutaj możesz zmienić swój login
primary-group: users
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
groups: users,docker,adm,dialout,audio,plugdev,netdev,video
ssh-import-id: None
lock_passwd: true
ssh-authorized-keys:
- ssh-xxx AAAA....NN # uzupełnij np. z ~/.ssh/id_ed25519.pub
runcmd:
- 'systemctl restart avahi-daemon'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment