hostname generation in Mitaka dashboard

asked 2016-05-17 19:44:00 -0600

anonymous user

Anonymous

Hi,

I have a running deployment of Mitaka with several KVM compute nodes. Out of the box, when I go to create a new instance and opt to create multiple VMs with the same settings (network, security group, userdata, etc.), the instances will get created with a -number suffix. For example, if I set the instance hostname to test and select to create 5 instances, I will end up with:

test-1
test-2
test-3
test-4
test-5

How can I change that suffix to something that better fits our conventions? The http://docs.openstack.org/mitaka/config-reference/dashboard/config-options.html (horizon) or http://docs.openstack.org/mitaka/config-reference/compute/config-options.html (nova) config reference docs don't seem to have anything obvious.

To be clear, this concerns specifically the instance hostnames (/etc/hostname) on linux, not the instance_name_template which takes care of the libvirt guests naming.

Thanks!

edit retag flag offensive close merge delete