Creating Home Assistant OS VM shell 400 Parameter verification failed.
name: invalid format - value does not look like a valid DNS name
qm create <vmid> [OPTIONS]
[ERROR] in line 567: exit code 255: while executing command qm create $VMID -machine q35 -bios ovmf -agent 1 -tablet 0 -localtime 1 ${CPU_TYPE} -cores "$CORE_COUNT" -memory "$RAM_SIZE" -name "$HN" -tags community-script -net0 "virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU" -onboot 1 -ostype l26 -scsihw virtio-scsi-pci > /dev/null
i have to confess: im new to unix and proxmox. i had created this HASSIO VM with same scrip shortly before, but started the confirmation “accidently” and it runs thru and was installed successfully, but not with settings i needed. so i desintalled the VM by “shutdown the VM” and then “more/remove”.
then i tried the exact same script, but now it failes all the time?
why? could somebody pls help?
thanx in advance
br
Frank
Been a while since I used the script but presume it asks for hostname? Make sure you are not adding spaces looks like you have entered “hassio proxmox 1”. Spaces aren’t allowed in a DNS name, they may be underscores but I’d probably avoid them.
Not sure if it is the hostname or not. But, don’t name your HA host to a Proxmox machine. You might end up moving it between machines. Then, the name won’t make sense. Use HAOS
i had used underscores, but now i used without any and it worked thank you!
i was a little missleaded: i had thought i had created one with a name containing underscores, but it was the VM created “by accident” with “default options”, what i deleted after.
hi @jeffcrum ,
i have an HA on a raspi in parallel, so i wanted to have the hardware in name. but thanx for the hit anyhow!
PS: i would like to “move” my productive raspi HA to my proxmox, but was careless about a possible change of the hostname?
i usually use the IP adress. now i wonder how important the hostname is and what effects would it have, when it will be changed?