Skip to content

Instantly share code, notes, and snippets.

@gschanuel
Created October 29, 2021 23:54
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/9ba08b1f0bb8d206f1a1ffbd887bc007 to your computer and use it in GitHub Desktop.
Save gschanuel/9ba08b1f0bb8d206f1a1ffbd887bc007 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 AAAA(...)Ik8= ubuntu@localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment