OpenStack Cloud-Init Set Hostname to VM-Name
<p>How can I set the hostname of a VM to the VM-Name in OpenStack? </p>

<p>I can set the hostname using cloud-init, but I do not know how to set it to a 'parameter', that is, how to make cloud-init / OpenStack pass in the VM-Name.</p>