[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: manual launch of cloud-init



On 3 September 2013 11:26, Chris Fordham <chris.fordham@rightscale.com> wrote:
VirtualBox isn't a cloud.


On Tue, Sep 3, 2013 at 7:18 PM, olivier sallou <olivier.sallou@gmail.com> wrote:



2013/9/3 Chris Fordham <chris.fordham@rightscale.com>
Wouldn't a better solution be to contribute to cloud-init for OpenNebula support?

I could.... I maybe I will. But this does not solve the point for a Virtualbox image.

For contribution I need to have a look how cloud-init works to get EC2 meta data (as URL and/or methods differ with providers).

Olivier
 


On Tue, Sep 3, 2013 at 6:49 PM, olivier sallou <olivier.sallou@gmail.com> wrote:
Hi,
what is the way to manually launch cloud-init with a config file.

For debian-buid-cloud, we can install cloud-init. However, for OpenNebula it won't be able to gather user_data from a remote site (context is mounted via a virtual cdrom).Or for a VirtualBox image, there is no EC2 data.

So I 'd like to create a cloudinit plugin for debian-build-image that takes a cloudinit config file as input, copy it on the image and execute cloudinit on this config file at first boot.
It would help to use all cloudinit scripts to create user/groups, setup some mounts etc.... instead of recoding them all...  :-)


Thanks

Olivie

--
gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



--
Chris Fordham
Cloud Solutions Engineer
RightScale Inc.
Direct: +61 2 9037 2780



--
gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



--
Chris Fordham
Cloud Solutions Engineer
RightScale Inc.
Direct: +61 2 9037 2780

> VirtualBox isn't a cloud.
Neither is Xen, QEMU or any other virtual machine.

Reply to: