Passing VMWare Customisation Spec through Foreman while provisioning

Hello,
I am trying to provision hosts using Foreman on VMWare using Templates and
pass customisation spec. I have managed to register the Template (as an
Image) in the VMware compute resource although cannot find a way to pass
customisation spec while provisioning. Can someone please share their views
of how they managed to achieve this or any other alternative workflow that
you would have used to achieve this?

Details of the environment:
Foreman v1.6
VMware v5.5
Provisioning RedHat 6.5 x86_64 guests on the VMWare data center.

Thanks & regards
Soumen

Looking for this option too. Where can I find the spot in the codebase if
I need to add this feature?

Corey

··· On Tuesday, September 23, 2014 2:33:12 AM UTC-7, soumen trivedi wrote: > > Hello, > I am trying to provision hosts using Foreman on VMWare using Templates and > pass customisation spec. I have managed to register the Template (as an > Image) in the VMware compute resource although cannot find a way to pass > customisation spec while provisioning. Can someone please share their views > of how they managed to achieve this or any other alternative workflow that > you would have used to achieve this? > > Details of the environment: > Foreman v1.6 > VMware v5.5 > Provisioning RedHat 6.5 x86_64 guests on the VMWare data center. > > > Thanks & regards > Soumen >

hello i think you will need to:
-allow user_data for the vmware cr
-patch fog and probably the associated vsphere gem rbvmomi to handle
customisationspecs

i m doing something similar for ovirt now, once i m done, ill give a try to
this feature.
regards,

··· El 08/11/2014 00:10, "Corey Osman" escribió:

Looking for this option too. Where can I find the spot in the codebase if
I need to add this feature?

Corey

On Tuesday, September 23, 2014 2:33:12 AM UTC-7, soumen trivedi wrote:

Hello,
I am trying to provision hosts using Foreman on VMWare using Templates
and pass customisation spec. I have managed to register the Template (as an
Image) in the VMware compute resource although cannot find a way to pass
customisation spec while provisioning. Can someone please share their views
of how they managed to achieve this or any other alternative workflow that
you would have used to achieve this?

Details of the environment:
Foreman v1.6
VMware v5.5
Provisioning RedHat 6.5 x86_64 guests on the VMWare data center.

Thanks & regards
Soumen


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guys,
I have got some success (able to change a specific VM parameter at
provision time) for this using foreman hooks instead of updating through
fog. I am now working on applying the vsphere customisation spec and
editing vm through foreman using rbvmomi in foreman hooks (as I would like
to reuse our existing scripts - pre-foreman).

I would share the details once I have completed this.
regards
Soumen

··· On Saturday, November 8, 2014 10:55:22 AM UTC, Karim Boumedhel wrote: > > hello i think you will need to: > -allow user_data for the vmware cr > -patch fog and probably the associated vsphere gem rbvmomi to handle > customisationspecs > > i m doing something similar for ovirt now, once i m done, ill give a try > to this feature. > regards, > El 08/11/2014 00:10, "Corey Osman" <co...@logicminds.biz > > escribió: > >> Looking for this option too. Where can I find the spot in the codebase >> if I need to add this feature? >> >> >> Corey >> >> On Tuesday, September 23, 2014 2:33:12 AM UTC-7, soumen trivedi wrote: >>> >>> Hello, >>> I am trying to provision hosts using Foreman on VMWare using Templates >>> and pass customisation spec. I have managed to register the Template (as an >>> Image) in the VMware compute resource although cannot find a way to pass >>> customisation spec while provisioning. Can someone please share their views >>> of how they managed to achieve this or any other alternative workflow that >>> you would have used to achieve this? >>> >>> Details of the environment: >>> Foreman v1.6 >>> VMware v5.5 >>> Provisioning RedHat 6.5 x86_64 guests on the VMWare data center. >>> >>> >>> Thanks & regards >>> Soumen >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "foreman-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-dev...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> >