KVM Templates: cloud-init not applying hostname

Nov 24, 2019
2
0
1
39
Hello

I'm having an issue with some customs KVM templates in that cloud-init is not applying the hostname. Instead it applies the last octet of its IP address whereas it's normally set to the VM name supplied to Proxmox.

VMs are being deployed via the ModulesGarden ProxmoxVPS plugin and everything works perfectly except the hostname.
Note that it works fine using distribution cloudimages, just fails on the ones I made.


screenshot1.png


I've made my custom template temporarily available for download here:
http://mirror.cambo.host/.shared/pve/centos6.raw.gz (443MB)

Appreciate any assistance :)

Thanks
 
Last edited:
What are the cloudinit settings used on Proxmox?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!