Skip to content

Instantly share code, notes, and snippets.

@gschanuel
Created October 29, 2021 23:19
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 gschanuel/d245643b4c268e05b7f5479537ed91f6 to your computer and use it in GitHub Desktop.
Save gschanuel/d245643b4c268e05b7f5479537ed91f6 to your computer and use it in GitHub Desktop.
#cloud-config
network:
version: 2
ethernets:
# opaque ID for physical interfaces, only referred to by other stanzas
id0:
dhcp4: false
addresses:
- 172.25.150.11/24
gateway4: 172.25.150.1
nameservers:
search: [foo.bar]
addresses: [172.31.136.25, 192.168.27.9]
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1.....Gvb4oRJLC33eiIk8= user@machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment