sudo apt install cloud-utils
cloud-localds myseed.iso user-data meta-data --network-config network-config
instance-id: uuid | |
local-hostname: myhostname |
version: 2 | |
ethernets: | |
ens192: | |
addresses: | |
- 192.168.1.234/24 | |
gateway4: 192.168.1.1 | |
nameservers: | |
addresses: | |
- 8.8.8.8 | |
- 1.1.1.1 |
#cloud-config | |
password: passw0rd | |
chpasswd: { expire: False } | |
ssh_pwauth: True ~ ~ ~ |