Ask Your Question
0

Hyper-v instance naming

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

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
0

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

ader1990 gravatar image

Hello,

According to http://docs.openstack.org/kilo/config..., you can set in the nova.conf on the nova-compute hyper-v node:

instance_name_template = MyName-%08x

Thanks,

Adrian Vladu

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 58 times

Last updated: Nov 18 '16