Skip to content

Instantly share code, notes, and snippets.

@akulbe
Created February 11, 2023 04:02
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 akulbe/d81e5b88367052fd721e3dd1599dab91 to your computer and use it in GitHub Desktop.
Save akulbe/d81e5b88367052fd721e3dd1599dab91 to your computer and use it in GitHub Desktop.
metadata.yml
instance-id: node
local-hostname: node
network:
version: 2
ethernets:
nics:
match:
name: ens*
dhcp4: yes
userdata.yml
#cloud-config
user:
- default:
- name: akulbe
primary_group: akulbe
sudo: ALL=(ALL) NOPASSWD:ALL
groups: sudo, wheel, docker
lock_passwd: true
ssh_authorized_keys:
- ecdsa-sha2-nistp521 <my key content> a<my email>m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment