Consider using box-grinder, while project is no longer maintained, it works very well and fairly simple.
> -----Original Message----- > From: celso.fernan...@gmail.com [mailto:celso.fernan...@gmail.com] On > Behalf Of Celso Fernandes > Sent: Tuesday, July 23, 2013 11:04 AM > To: users@cloudstack.apache.org > Subject: Re: Generating OS Templates > > Hi Prasanna, > > Didn't understand where you puppet provisioning is absent, on packer? > > > On Fri, Jul 19, 2013 at 2:23 AM, Prasanna Santhanam <t...@apache.org> > wrote: > > Agreed this is something I'd like to see in our test pipeline too and > > integrated into our internal clouds. Managing multiple templates can > > be messy. Once I finish off some 4.2 related stuff I'll look at > > implementing a CloudStack provider for packer in Go. Right now puppet > > provisioning is absent as well making it a bit difficult to configure > > the templates with a puppetmaster. So perhaps by the time we get to > > this, there will be support in packer > > > > -- > > Prasanna., > > > > On Thu, Jul 18, 2013 at 09:53:10PM +0000, Brian Galura wrote: > >> We have an automated process for deploying code onto existing hosts, > >> it would be cool to have it just build an image instead. > >> > >> -----Original Message----- > >> From: celso.fernan...@gmail.com [mailto:celso.fernan...@gmail.com] > On > >> Behalf Of Celso Fernandes > >> Sent: Thursday, July 18, 2013 2:21 PM > >> To: users@cloudstack.apache.org > >> Subject: Re: Generating OS Templates > >> > >> What is this kind of continuous integration? To generate OS > >> templates? ;) Celso Fernandes > >> > >> www.zertico.com > >> > >> +55 35 4105-0922 > >> Av. BPS, 1303 - PCE - PCTI - Sala 10 > >> > >> > >> On Thu, Jul 18, 2013 at 5:11 PM, Brian Galura <brian.gal...@citrix.com> > wrote: > >> > Yes I opened that issue with packer. Would love to see that support and > use it with a continuous integration automation pipeline. > >> > > >> > On Jul 18, 2013, at 9:11, "Prasanna Santhanam" <t...@apache.org> > wrote: > >> > > >> > Celso, > >> > > >> > There's an issue on the packer [1] github that you may be > >> > interested in if you plan on building support for CS. I've been > >> > playing around with packer for the last few weeks and find it quite > >> > stable for a version 0.1 tool and since it's by the Vagrant author > >> > himself I think it'll get good traction in the future. > >> > > >> > [1] https://github.com/mitchellh/packer/issues/76 > >> > > >> > -- > >> > Prasanna., > >> > > >> > On Thu, Jul 18, 2013 at 11:40:02AM -0300, Celso Fernandes wrote: > >> >> Christian, > >> >> I've been using veewee to generate vagrant boxes in a while, for > >> >> me is much better to develop something based on this and automate > >> >> to import on Cloudstack instead of develop something from scratch. > >> >> > >> >> Prasanna, > >> >> Thank you for the point.. Packer seems a really cool to do this > >> >> task, I'm gonna try to make a plugin for XenServer, once it worked > >> >> I try something specific to CloudStack, thank you for point me > >> >> into this direction. > >> >> > >> >> Thank you all for replies, > >> >> Celso Fernandes > >> >> > >> >> www.zertico.com > >> >> > >> >> +55 35 4105-0922 > >> >> Av. BPS, 1303 - PCE - PCTI - Sala 10 > >> >> > >> >> > >> >> On Thu, Jul 18, 2013 at 11:25 AM, Prasanna Santhanam > <t...@apache.org> wrote: > >> >>> There are no providers for CloudStack yet in these projects > >> >>> (vagrant/packer). Only for AWS, vmware fusion, vbox and possibly > >> >>> openstack. So you'll have to convert to vhd manually and then > >> >>> import as template and then muck around with the networking a > >> >>> little bit to get it right. > >> >>> > >> >>> On Thu, Jul 18, 2013 at 11:11:04AM -0300, Celso Fernandes wrote: > >> >>>> Hi Sanjay, thank you for your reply, > >> >>>> > >> >>>> I thought were some more automated process like Veewee does > for > >> >>>> Vagrant boxes. Is there any way to convert Vagrant boxes to > >> >>>> XenServer ones? So would be much more simpler to automate the > >> >>>> process. I'm gonna search for some info and test, then publish any > result I got. > >> >>>> > >> >>>> Thank you, > >> >>>> Celso Fernandes > >> >>>> > >> >>>> www.zertico.com > >> >>>> > >> >>>> +55 35 4105-0922 > >> >>>> Av. BPS, 1303 - PCE - PCTI - Sala 10 > >> >>>> > >> >>>> > >> >>>> On Thu, Jul 18, 2013 at 2:09 AM, Sanjay Tripathi > >> >>>> <sanjay.tripa...@citrix.com> wrote: > >> >>>>> If you have VMs running with the mentioned OS types, first stop > those VMs then go to "Storage" tab in the CS UI and select the ROOT disk of > the VM for which you want to create the template. > >> >>>>> There you'll get the option to create template from that ROOT > volume. > >> >>>>> > >> >>>>> And VM should have xenserver tools installed to reflect it in the > template. > >> >>>>> > >> >>>>> --Sanjay > >> >>>>> > >> >>>>>> -----Original Message----- > >> >>>>>> From: celso.fernan...@gmail.com > >> >>>>>> [mailto:celso.fernan...@gmail.com] On Behalf Of Celso > >> >>>>>> Fernandes > >> >>>>>> Sent: Thursday, July 18, 2013 6:21 AM > >> >>>>>> To: users@cloudstack.apache.org > >> >>>>>> Subject: Generating OS Templates > >> >>>>>> > >> >>>>>> I know its an novice question, but I haven't found in the > >> >>>>>> documentation the best way to get this. > >> >>>>>> > >> >>>>>> I'd like to generate template for CentOS 6.4 / Debian 7.1 / > >> >>>>>> Ubuntu > >> >>>>>> 12.04 with xenserver tools installed and password enabled. > >> >>>>>> > >> >>>>>> What is the best way to generate this templates? Any > >> >>>>>> documentation or tutorial some could point would help very > much. > >> >>>>>> > >> >>>>>> Thank you, > >> >>>>>> Celso Fernandes > >> >>>>>> > >> >>>>>> www.zertico.com > >> >>>>>> > >> >>>>>> +55 35 4105-0922 > >> >>>>>> Av. BPS, 1303 - PCE - PCTI - Sala 10 > >> >>> > >> >>> -- > >> >>> Prasanna., > >> >>> > >> >>> ------------------------ > >> >>> Powered by BigRock.com > >> > > >> > > >> > ------------------------ > >> > Powered by BigRock.com > >> > > > > > > > ------------------------ > > Powered by BigRock.com > >