[Users] set computername and domain when vm is created from template.

Itamar Heim iheim at redhat.com
Sun Apr 6 08:02:53 UTC 2014


On 04/06/2014 09:48 AM, Jeff Clay wrote:
> i'm needing to change the computer name to something based on the vm's
> name or something and add the system to an active directory domain. this
> needs to be done when i create new vm's from a template. any
> suggestions? from what i'm reading, cloud-init is what i'm needing to
> use, i installed and ran it to check it out. it changed the computer
> name, but i can't find where to specify the computer name value or how
> to set domain info.

sysprep has this support, just create a teamplate from a VM sealed with 
sysprep. ovirt will pass the sysprep file via a floppy to the VM (vm 
name will be the vm name).




More information about the Users mailing list