Ask Your Question

Hyper-v instance naming

asked 2016-10-31 17:32:15 -0600

eckdd gravatar image

I'm using OpenStack with nova on a Hyper-V host and was wondering if there is a way to specify the prefix given to the VM name in Hyper-V.

When I launch an instance on my controller, the Hyper-V VMs are spawned with a name resembling "instance-0000xx". I would like to be able to add a metadata value that would cause VMs spawned for that particular instance to be named "MyName-0000xx"

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-18 05:38:42 -0600

ader1990 gravatar image


According to, you can set in the nova.conf on the nova-compute hyper-v node:

instance_name_template = MyName-%08x


Adrian Vladu

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-10-31 17:32:15 -0600

Seen: 91 times

Last updated: Nov 18 '16