Hello! A very good question, the answer is no (but such an option in CS would be useful). You can disable cloud-init hostname setting and override this mechanism with your own script. Just get hostname from UserData, and use hostnamectl to set the correct name.
Piotr -----Original Message----- From: Yordan Kostov <yord...@nsogroup.com> Sent: Monday, September 20, 2021 4:03 PM To: users@cloudstack.apache.org Subject: lower case VM hostname Dear all, Is it possible to force Linux VMs hostnames to be lower case no matter of how the user named the VM in Cloudstack GUI? Is there such custom option in Cloudstack and if that is not the case, is there a way to achieve that with cloud-init set-hostname module? Best regards, Jordan