I’m hitting a strange issue and i’m guessing its a user-data issue. As it seems like its hitting cloud-init and doing something but then its bombing out with the following error.
Versions
Ubuntu 20.04 server
Packer version 1.9.1
Running from Ubuntu 20.04 desktop
#cloud-config
autoinstall:
version: 1
identity:
hostname: ubuntu-server
password: "$encrypt"
realname: ubuntu
username: ubuntu
network:
network:
version: 2
ethernets:
enp0s3:
dhcp4: no
addresses: blah
gateway4: blah
nameservers:
addresses:blah
keyboard:
layout: uk
locale: en_UK
ssh:
allow-pw: yes
install-server: true