I did small review today and this is the list of providers and their support:
Finish script support:
bare metal
openstack
amazon ec2
rackspace
gce
Cloud-init script support:
ovirt/rhev
vmware (*)
openstack
amazon ec2
rackspace
(*) VMWare has actually special cloud-init limited scope support, it
does not pass the cloud-init into the image as-is, but rather converts
it into individual actions referred as Custom Spec in VMWare docs.
Only some fields are converted, the rest is unused. It does not accept
"call home" wget/curl call therefore VMWare VMs initialized with
cloud-init stays in build mode forever. This is known limitation.
Is there any guide/page on writing a compute resource plugin that supports
cloud init? I'm contemplating working with xen-orchestra, and writing a
plugin to interface with that (as it provides cloudinit for xenserver)
ยทยทยท
On Mar 28, 2017 07:29, "Lukas Zapletal" wrote:
I did small review today and this is the list of providers and their
support:
Finish script support:
bare metal
openstack
amazon ec2
rackspace
gce
Cloud-init script support:
ovirt/rhev
vmware (*)
openstack
amazon ec2
rackspace
(*) VMWare has actually special cloud-init limited scope support, it
does not pass the cloud-init into the image as-is, but rather converts
it into individual actions referred as Custom Spec in VMWare docs.
Only some fields are converted, the rest is unused. It does not accept
"call home" wget/curl call therefore VMWare VMs initialized with
cloud-init stays in build mode forever. This is known limitation.
IIRC we just fire it at Fog at then let Fog handle it, there's very little on
our side. The assumption is that user-data will do a phone home, so there's
really little more to do than render a template and add it to the cerate_vm
hash. I can look up code examples if it helps
Greg
ยทยทยท
On Tuesday, 28 March 2017 12:35:41 BST Neil Hanlon wrote:
> Is there any guide/page on writing a compute resource plugin that supports
> cloud init? I'm contemplating working with xen-orchestra, and writing a
> plugin to interface with that (as it provides cloudinit for xenserver)
You can get a Windows VM built in VMware to call home by using a run once
script and having powershell hit the build URL. Unfortunately, VMware does
not support run once commands for Linux guests in their customization
objects.
ยทยทยท
On Tuesday, March 28, 2017 at 7:36:13 AM UTC-5, Greg Sutcliffe wrote:
>
> On Tuesday, 28 March 2017 12:35:41 BST Neil Hanlon wrote:
> > Is there any guide/page on writing a compute resource plugin that
> supports
> > cloud init? I'm contemplating working with xen-orchestra, and writing a
> > plugin to interface with that (as it provides cloudinit for xenserver)
>
> IIRC we just fire it at Fog at then let Fog handle it, there's very little
> on
> our side. The assumption is that user-data will do a phone home, so
> there's
> really little more to do than render a template and add it to the
> cerate_vm
> hash. I can look up code examples if it helps ;)
>
> Greg
>