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

2014-04-06 Thread Jeff Clay
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.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-06 Thread Joop
Jeff Clay jeffc...@gmail.com 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.
I think cloudinit is used for linux and sysprep is used for windows. There is a 
new project that has 'ported' cloudinit to windows. Google it.
That still leaves you with the problem to generate unique machine names and 
other unique stuff per machine. Maybe cloudinit,sysprep will do that 
automatically? I don't know that.

Joop


-- 
Sent from my Android tablet with K-9 Mail. Please excuse my brevity.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-06 Thread Itamar Heim

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).


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-06 Thread Itamar Heim

On 04/06/2014 11:32 AM, Jeff Clay wrote:

What about joining to a domain?



should also work with sysprep.



On Sun, Apr 6, 2014 at 3:28 AM, Jeff Clay jeffc...@gmail.com
mailto:jeffc...@gmail.com wrote:

Ok, I hadn't tried that yet. Let me give it a shot. Thanks for the info.


On Sun, Apr 6, 2014 at 3:02 AM, Itamar Heim ih...@redhat.com
mailto:ih...@redhat.com wrote:

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).





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users