Replies: 1 comment 2 replies
-
Try: instance-id:
hostname:
prefer_fqdn_over_hostname: true
fqdn:
local-hostname: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have successfully build a
ubuntu-base-22.04.1-LTS
VM template with Packer and cloud-init as in the example.However, when I then use the Terraform example to create a new VM from it the
domainname
is not getting set.I have tried update
metadata.yml
in a number of different settings like below but nothing seems to work:metadata.yml
On the vm I'd expect to see the domain name being:
hostname --fqdn
domainname
hostnamectl
Beta Was this translation helpful? Give feedback.
All reactions