Yes, I am going to update code and write up some instructions this
weekend.  I have a big project at work I need to finish up before I can get
to that though.

If you want to make multiple VMs I would write a script that calls the
createVM.php web service.

All you would  have to do is call curl, for example.  curl "
http://test.example.com/ws/createVM.php?vmname=${VMName}&ipaddress=${IPAddress}&cpus=2......
."

Thanks,
Jason




On Thu, Apr 28, 2016 at 1:44 AM, Dibyendu Paul <[email protected]>
wrote:

> Also The current Web UI allows to create one  VM at a time. Is It possible
> to create Multiple VMs at a time?
>
>
>
> On Wednesday, 27 April 2016 04:19:26 UTC+5:30, Jason Hiatt wrote:
>>
>>
>> Yes, you could specify the installation server in your custom ISO.
>> I think the correct option to use is "inst.repo="
>>
>> We just use the installation source from the DVD.
>>
>> Thanks,
>> Jason
>>
>>
>> On Sun, Apr 24, 2016 at 11:32 PM, Dibyendu Paul <[email protected]>
>> wrote:
>>
>>> Hi Jason
>>> This is excellent!
>>> In this setup is it possible to pick the RHEL OS from the Installation
>>> server? where the iso could be kept or local repository could be created?
>>>
>>> Regards
>>> Dibyendu Paul
>>>
>>> On Monday, 25 April 2016 08:37:30 UTC+5:30, Jason Hiatt wrote:
>>>>
>>>> We have a web UI that lets our admins input IP, VM name, number of
>>>> CPUs, RAM and other attributes.
>>>> You can see a stripped down version of it here ->
>>>> https://github.com/OneMainF/vmware-rhel-server-builder/blob/master/build/src/www/createVM.html
>>>>
>>>> The web UI calls this web service when all inputs are entered ->
>>>> https://github.com/OneMainF/vmware-rhel-server-builder/blob/master/build/src/www/ws/createvm.php
>>>>
>>>> The web service adds the server to a database and creates an Ansible
>>>> play and runs it.  The playbook creates the VM and collects the VM's MAC
>>>> address and updates the DB.
>>>>
>>>> Once the VM starts up the dynamic Kickstart file is called and the VM
>>>> is built.
>>>>
>>>> https://github.com/OneMainF/vmware-rhel-server-builder/blob/master/build/src/www/kickstart/ks.php
>>>>
>>>>
>>>> I'm getting closer to Dockeizing the application, hopefully I can get
>>>> it done this week.
>>>>
>>>> On Thu, Apr 21, 2016 at 11:24 PM, Dibyendu Paul <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi
>>>>> How the kick start will pick individual ips of the vms. Where those
>>>>> ips to be defined?
>>>>> The kick start will not have the up conf? How do you make it
>>>>> generalized?
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "Ansible Project" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/ansible-project/Holm0CFBbLo/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, 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/621f9dca-6d54-4e51-82ad-761be5a374bd%40googlegroups.com
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Ansible Project" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/ansible-project/Holm0CFBbLo/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/43674172-ecab-4a82-9450-11be01e5833b%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/43674172-ecab-4a82-9450-11be01e5833b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/Holm0CFBbLo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/ea0de6a9-eb1d-4a4a-aac0-d353fbaf7504%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/ea0de6a9-eb1d-4a4a-aac0-d353fbaf7504%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAE1cL733_DYbG0xtLF%3D8kqpuor9iVCcjk1vxQKFi8Xdsov9MNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to