New Question

Revision history [back]

click to hide/show revision 1
initial version

Hostname changes using metadata

Hello, I have a VM created from OpenStack. I'm sending "hostname" metadata value to the VM and the password. Password is kept as I sent in metadata. But Hostname is always overwritten by the instance-name of the VM.

Is there a way to keep cloud-init using only metadata info and not others?

Useful information

  • Tested on Windows 2012, Windows 2016 and Windows 2019
  • OpenStack Train version

cloudbase-init.conf -> https://pastebin.pl/view/8ef83fcf

cloudbase-init-unattend.conf -> https://pastebin.pl/view/d6a37efe