Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save j-griffith/041582c3b6975a50e44ebe692495cfe2 to your computer and use it in GitHub Desktop.
Save j-griffith/041582c3b6975a50e44ebe692495cfe2 to your computer and use it in GitHub Desktop.
#cloud-config
autoinstall:
version: 1
identity:
hostname: {{.Hostname}}
password: $6$jCfWFbdxh1lK09sY$pxFnrW/yXewYFmgoaywu3WKhdPQg0e8DR8jvedAV.udXM0.i5M6wr4Up2S7ZCN9kNDmg.s7fmrOaXE6nEyzPb/
username: ubuntu
ntp:
enabled: true
ntp_client: systemd-timesyncd
servers:
- 10.180.37.3
keyboard:
layout: us
toggle: null
variant: ""
locale: en_US
network:
version: 2
ethernets:
ens5f0:
critical: true
dhcp-identifier: mac
dhcp4: true
nameservers:
addresses: [8.8.8.8]
ssh:
allow-pw: true
install-server: true
authorized-keys:
{{.SSH_KEY_LIST}}
disk_setup:
ephemeral0:
table_type: "mbr"
layout: true
/dev/nvme0n1:
table_type: "mbr"
layout:
- 33
- [33, 82]
- 33
overwrite: True
user-data:
{{.USER_DATA}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment