Hi Mark,

Thanks for posting that code, I've been unsure of how to extra the mac
address for newly created VM's. I can now parse that to cobbler to
create/update vm's.

Is anyone else using a similar workflow? I'm only using cobbler because we
presently use it allows us to use our existing kickstart files.


Thanks!

On 7 January 2015 at 09:49, Mark Phillips <[email protected]> wrote:

> Hello,
>
> I've recently done just this - and I coupled the VM creation with PXE
> booting. I have two PXE menus in place, the default one just says 'boot to
> HD'. The other one is the install menu, with a kickstart line. I control
> the use of this with Ansible by doing the following:
>
> https://gist.github.com/phips/2777a564e10d53824df8
>
>
> On Tuesday, 6 January 2015 10:07:53 UTC+1, Patel Parimal wrote:
>>
>> Hi,
>> I am newbie to Ansible.
>>
>> I have gone through the online documentation and examples for creating
>> new VM on Ansible Docs - vsphere_guest (http://docs.ansible.com/
>> vsphere_guest_module.html).
>>
>> I want to automate VM creation and OS installation process using Ansible.
>>
>> Currently I have VMWare ESXi available which doesn't support VM cloning,
>> so I need to create a new VM every time from scratch and install OS(RHEL 6)
>> into it.
>>
>> Is there any way to provide kickstart file URL in Ansible Playbook (for
>> example, static HTTP URL like http://192.168.0.1/ks/ks.cfg) so after
>> newly built VM is powered on, OS will be installed into it ?
>>
>> Thanks and regards,
>> Parimal
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/4af2ebed-cecb-4ba1-964a-bd76c0e128ed%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/4af2ebed-cecb-4ba1-964a-bd76c0e128ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BemtqvrF1DeL1aLYSHPfRbj-Pj2WfYTZ2BYm6vrO8_tHzgxrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to