Post

2 followers Follow
0
Avatar

Set Hostname VM Prefix

Hello !
I want use VM_PREFIX specific per hosts.
Can i use VM_PREFIX for VM Name in vcenter AND in hostname with, per exemple :
SET_HOSTNAME=$VM_PREFIX-$NAME    ?

Bryce

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Bryce!

I'd say that VM_PREFIX which is a host attribute is not visible to be used in a VM context, so I think that $VM_PREFIX should not work with SET_HOSTNAME...

Cheers!

Miguel Angel Alvarez Cabrerizo 0 votes
Comment actions Permalink