Hello everyone,
I hope you're all doing well!
I’m looking for advice on automating hostname assignment for newly created VMs in Proxmox. Specifically, I’d like each VM to automatically take a hostname based on its VM ID, following this format:
For example:
In this case, domain.com is the company domain associated with these VMs.
If anyone has experience with this or can suggest the best way to implement such automation, I’d greatly appreciate your input.
Thank you in advance for your help!
I hope you're all doing well!
I’m looking for advice on automating hostname assignment for newly created VMs in Proxmox. Specifically, I’d like each VM to automatically take a hostname based on its VM ID, following this format:
<vmid>.domain.com
For example:
- vmid10.domain.com
- vmid599.domain.com
In this case, domain.com is the company domain associated with these VMs.
If anyone has experience with this or can suggest the best way to implement such automation, I’d greatly appreciate your input.
Thank you in advance for your help!
Last edited: