Thanks. I thought about it later and realised that functionality existed through the API.
Great work. On Feb 3, 2015 6:29 PM, "Andrei Mikhailovsky" <and...@arhont.com> wrote: > > I think there is an API call for that (cloudmonkey should also do that). the ACS GUI currently doesn't have that ability. > > Andrei > ----- Original Message ----- > > > From: "Osay Osman Yuuni" <oyu...@gmail.com> > > To: users@cloudstack.apache.org > > Sent: Tuesday, 3 February, 2015 4:11:57 PM > > Subject: Re: Docker Support? > > > Thanks Seb. Sorry forbabdb question but how do I specify the key > > during > > instance creation based on the template? > > Osay > > On Feb 3, 2015 6:05 PM, "Sebastien Goasguen" <run...@gmail.com> > > wrote: > > > > > > > On Feb 3, 2015, at 9:39 AM, Osay Osman Yuuni <oyu...@gmail.com> > > > wrote: > > > > > > > Hi, > > > > What do you mean "works totally out of the box?". Without > > > > injecting ssh > > > > keys how does it work or are you referring to running docker and > > > > related > > > > stuff straight out of the box? > > > > > > I am saying that you don't need to tweak the template. > > > > > > if you register ssh keys in cloudstack and deploy a VM based on > > > that > > > template specifying your ssh keys, you will be logged in ….out of > > > the box… > > > > > > no need to install additional scripts in the templates, etc... > > > > > > > > > > > Osay > > > > > > > > On 2 February 2015 at 15:31, Sebastien Goasguen > > > > <run...@gmail.com> > > > wrote: > > > > > > > >> > > > >> On Jan 31, 2015, at 7:27 PM, Andrei Mikhailovsky > > > >> <and...@arhont.com> > > > >> wrote: > > > >> > > > >>> I guess there has been a lot of changes since i've last > > > >>> checked. When I > > > >> was testing it about half a year ago, the ssh keys did not work > > > >> out of > > > the > > > >> box and had to be scipted into the image itself before uploading > > > >> to acs. > > > >>> > > > >> > > > >> it works totally out of the box. As Lucian mentioned if you > > > >> start an > > > >> instance specifying an SSH key, the instance will get it from > > > >> the VR > > > >> userdata…. > > > >> > > > >> as easy as pie and exactly like on AWS or EC2 > > > >> > > > >> I pointed to the automated builds from coreOS directly and the > > > >> scripts > > > >> used to setup the keys automatically. > > > >> > > > >> > > > >>> Andrei > > > >>> From: "Nux!" <n...@li.nux.ro> > > > >>> To: users@cloudstack.apache.org > > > >>> Cc: run...@gmail.com > > > >>> Sent: Saturday, 31 January, 2015 1:16:12 AM > > > >>> Subject: Re: Docker Support? > > > >>> > > > >>> Oh, forgot to add that userdata scripts have also worked upon > > > >>> VM > > > >> deployment out of the box, so if you'd like your CoreOS instance > > > >> to do > > > some > > > >> action you can script it here. > > > >>> > > > >>> Not sure how exactly it would work better on Openstack as > > > >>> Andrei > > > >> intimated. Pretty much everything seemed to work to the best of > > > >> my > > > (limited > > > >> Coreos) knowledge. > > > >>> > > > >>> Lucian > > > >>> > > > >>> -- > > > >>> Sent from the Delta quadrant using Borg technology! > > > >>> > > > >>> Nux! > > > >>> www.nux.ro > > > >>> > > > >>> ----- Original Message ----- > > > >>>> From: "Nux!" <n...@li.nux.ro> > > > >>>> To: users@cloudstack.apache.org > > > >>>> Cc: run...@gmail.com > > > >>>> Sent: Saturday, 31 January, 2015 01:08:08 > > > >>>> Subject: Re: Docker Support? > > > >>> > > > >>>> What I needed to do in order to get it working is convert the > > > >>>> image to > > > >> QCOW2 (I > > > >>>> use KVM). > > > >>>> > > > >>>> After that I have registered the template with SSH key enabled > > > >>>> (You > > > >> can also > > > >>>> enable this feature in the DB if you would like to avoid > > > >> re-downloading the > > > >>>> template). > > > >>>> > > > >>>> Once an instance was created with one of my ssh keys, I could > > > >>>> login > > > >> via ssh as > > > >>>> core@IP with the said keypair. > > > >>>> The template has also nicely expanded to fit my custom root > > > >>>> disk size. > > > >>>> > > > >>>> For future convenience I've added a daily jenkins job to build > > > >> Cloudstack > > > >>>> CoreOS, they should be available shortly at: > > > >>>> http://dl.openvm.eu/cloudstack/coreos/x86_64/ > > > >>>> > > > >>>> HTH > > > >>>> Lucian > > > >>>> > > > >>>> -- > > > >>>> Sent from the Delta quadrant using Borg technology! > > > >>>> > > > >>>> Nux! > > > >>>> www.nux.ro > > > >>>> > > > >>>> ----- Original Message ----- > > > >>>>> From: "Andrei Mikhailovsky" <and...@arhont.com> > > > >>>>> To: users@cloudstack.apache.org > > > >>>>> Cc: run...@gmail.com > > > >>>>> Sent: Friday, 30 January, 2015 14:39:32 > > > >>>>> Subject: Re: Docker Support? > > > >>>> > > > >>>>> Osay, > > > >>>>> > > > >>>>> You need to check the documentation on how to install your > > > >>>>> ssh keys > > > >> into the > > > >>>>> template. Once you've done this, you should be able to login > > > >>>>> with ssh > > > >> keys. > > > >>>>> I've done this once about 6 months back and it worked > > > >>>>> perfectly well. > > > >>>>> > > > >>>>> I think the coreos is works much better with openstack as it > > > >> integrates well > > > >>>>> with the environment and automatically get's the user keys > > > >>>>> from > > > >> openstack. So, > > > >>>>> you don't have to mess about the recreating the template. I > > > >>>>> think > > > >> similar is > > > >>>>> done for major cloud providers like amazon and rackspace, > > > >>>>> etc. > > > >>>>> > > > >>>>> Andrei > > > >>>>> ----- Original Message ----- > > > >>>>> > > > >>>>>> From: "Osay Osman Yuuni" <oyu...@gmail.com> > > > >>>>>> To: users@cloudstack.apache.org, run...@gmail.com > > > >>>>>> Sent: Friday, 30 January, 2015 8:22:28 AM > > > >>>>>> Subject: Re: Docker Support? > > > >>>>> > > > >>>>>> Hi Seb, > > > >>>>> > > > >>>>>> I've converted the .bin file into a .vhd file and > > > >>>>>> successfully > > > >>>>>> registered > > > >>>>>> this in Cloudstack. However when I create an instance I'm > > > >>>>>> unable to > > > >>>>>> login. > > > >>>>>> I've tried core but it asks for a password (which I don't > > > >>>>>> have). Do > > > >>>>>> you by > > > >>>>>> any chance know how this template is used? > > > >>>>> > > > >>>>>> Cheers, > > > >>>>> > > > >>>>>> Osay > > > >>>>> > > > >>>>>> On 28 January 2015 at 09:50, sebgoa <run...@gmail.com> > > > >>>>>> wrote: > > > >>>>> > > > >>>>>>> > > > >>>>>>> On Jan 28, 2015, at 1:12 AM, Phillip Kent > > > >>>>>>> <phillip.k...@xmlsoup.com> > > > >>>>>>> wrote: > > > >>>>>>> > > > >>>>>>>> Sorry for naive question... I did not catch if there is a > > > >>>>>>>> simple > > > >>>>>>>> way > > > >>>>>>>> to convert from the .bin file offered by CoreOS to an OVA > > > >>>>>>>> file > > > >>>>>>>> that > > > >>>>>>>> would upload to ESX hypervisor in CloudStack ? > > > >>>>>>>> > > > >>>>>>>> > > > >>>>>>> > > > >>>>>>> The .bin file is just a raw image (last time I checked). > > > >>>>>>> You can > > > >>>>>>> use > > > >>>>>>> things like qemu-convert to get it in the format you want. > > > >>>>>>> > > > >>>>>>>> ---------- Forwarded message ---------- > > > >>>>>>>> From: Osay Osman Yuuni <oyu...@gmail.com> > > > >>>>>>>> To: users@cloudstack.apache.org > > > >>>>>>>> Cc: > > > >>>>>>>> Date: Tue, 27 Jan 2015 09:09:15 +0200 > > > >>>>>>>> Subject: Re: Docker Support? > > > >>>>>>>> Hi Nux!, > > > >>>>>>>> > > > >>>>>>>> I got it at last. > > > >>>>>>>> > > > >>>>>>>> Thx. > > > >>>>>>>> > > > >>>>>>>> On 26 January 2015 at 17:46, Nux! <n...@li.nux.ro> wrote: > > > >>>>>>>> > > > >>>>>>>>> Osay, > > > >>>>>>>>> > > > >>>>>>>>> You might want to get in touch with its creator, I do not > > > >>>>>>>>> know > > > >>>>>>>>> any > > > >>>>>>> details. > > > >>>>>>>>> https://github.com/svanharmelen > > > >>>>>>>>> > > > >>>>>>>>> HTH > > > >>>>>>>>> > > > >>>>>>>>> -- > > > >>>>>>>>> Sent from the Delta quadrant using Borg technology! > > > >>>>>>>>> > > > >>>>>>>>> Nux! > > > >>>>>>>>> www.nux.ro > > > >>>>>>>>> > > > >>>>>>>>> ----- Original Message ----- > > > >>>>>>>>>> From: "Osay Osman Yuuni" <oyu...@gmail.com> > > > >>>>>>>>>> To: users@cloudstack.apache.org > > > >>>>>>>>>> Sent: Monday, 26 January, 2015 14:25:48 > > > >>>>>>>>>> Subject: Re: Docker Support? > > > >>>>>>>>> > > > >>>>>>>>>> Hi Lucian, > > > >>>>>>>>>> > > > >>>>>>>>>> Thanks for the pointer. I seem to be blind to the > > > >>>>>>>>>> updated > > > >>>>>>>>>> README > > > >>>>>>>>> referred > > > >>>>>>>>>> to in the pull request. I don't see any entry for > > > >>>>>>>>>> cloudstack. > > > >>>>>>>>>> Still > > > >>>>>>>>>> searching. Also I just found that there is an image for > > > >>>>>>>>>> cloudstact at > > > >>>>>>>>>> CoreOS ( > > > >>>>>>>>>> > > > >>>>>>>>> > > > >>>>>>> > > > >> > > > http://stable.release.core-os.net/amd64-usr/current/coreos_production_cloudstack_image.bin.bz2 > > > >>>>>>>>> ). > > > >>>>>>>>>> I'm now wondering how this gets into a template. > > > >>>>>>>>>> > > > >>>>>>>>>> Cheers > > > >>>>>>>>>> > > > >>>>>>>>>> Osay > > > >>>>>>>>>> > > > >>>>>>>>>> On 26 January 2015 at 15:22, Nux! <n...@li.nux.ro> wrote: > > > >>>>>>>>>> > > > >>>>>>>>>>> I've just stumbled upon this recently > > > >>>>>>>>>>> https://github.com/docker/machine/pull/129 > > > >>>>>>>>>>> > > > >>>>>>>>>>> HTH > > > >>>>>>>>>>> Lucian > > > >>>>>>>>>>> > > > >>>>>>>>>>> -- > > > >>>>>>>>>>> Sent from the Delta quadrant using Borg technology! > > > >>>>>>>>>>> > > > >>>>>>>>>>> Nux! > > > >>>>>>>>>>> www.nux.ro > > > >>>>>>>>>>> > > > >> > > > >> > > > > > >