Does any of you guys has some bash script to create a new guest domain, by asking questions about RAM, HDD, SWAP,change apropiate xen config files and finaly create the image? NOTE: I always use LVM on dom0. :-) thanks in advance. -- Regards; Israel Garcia _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
mebbe xen-tools will work for you? http://www.xen-tools.org/software/xen-tools/ - Brian On Oct 16, 2009, at 6:50 PM, Israel Garcia wrote:> Does any of you guys has some bash script to create a new guest > domain, by asking questions about RAM, HDD, SWAP,change apropiate xen > config files and finaly create the image? > > NOTE: I always use LVM on dom0. :-) > > thanks in advance. > -- > Regards; > Israel Garcia > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 10/16/09, Brian Krusic <brian@krusic.com> wrote:> mebbe xen-tools will work for you? > > http://www.xen-tools.org/software/xen-tools/ > > - BrianHi Brian, I use xen-tools to create images, but I''m asling the list for some handy, easy script which ask me questions and then create the image... thanks for your answer. regards, Israel.> > On Oct 16, 2009, at 6:50 PM, Israel Garcia wrote: > >> Does any of you guys has some bash script to create a new guest >> domain, by asking questions about RAM, HDD, SWAP,change apropiate xen >> config files and finaly create the image? >> >> NOTE: I always use LVM on dom0. :-) >> >> thanks in advance. >> -- >> Regards; >> Israel Garcia >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > >-- Regards; Israel Garcia _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Oct 16, 2009 at 22:26, Israel Garcia <igalvarez@gmail.com> wrote:> On 10/16/09, Brian Krusic <brian@krusic.com> wrote: >> mebbe xen-tools will work for you? >> >> http://www.xen-tools.org/software/xen-tools/ >> >> - Brian > Hi Brian, > > I use xen-tools to create images, but I''m asling the list for some > handy, easy script which ask me questions and then create the image... > > thanks for your answer. > regards, > Israel.Not sure what OS you''re using as the Dom0 system, but Red Hat and SuSE include virt-install, don''t they? Or is that part of xen-tools. All you do is run virt-install, and it does exactly what you described. OR, you can pass everything as an option. I used this many times to install multiple VMs via Kickstart or YaST autoinstall. Jeff -- Marie von Ebner-Eschenbach - "Even a stopped clock is right twice a day." - http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Oct 16, 2009 at 09:26:09PM -0500, Israel Garcia wrote:> On 10/16/09, Brian Krusic <brian@krusic.com> wrote: > > mebbe xen-tools will work for you? > > > > http://www.xen-tools.org/software/xen-tools/ > > > > - Brian > Hi Brian, > > I use xen-tools to create images, but I''m asling the list for some > handy, easy script which ask me questions and then create the image...You might take a look at Ganeti: http://code.google.com/p/ganeti/ which manages virtualized clusters. You can do instance creation with a single command. Regards, Alex. -- "Opportunity is missed by most people because it is dressed in overalls and looks like work." -- Thomas A. Edison _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 10/17/09, J <dreadpiratejeff@gmail.com> wrote:> On Fri, Oct 16, 2009 at 22:26, Israel Garcia <igalvarez@gmail.com> wrote: >> On 10/16/09, Brian Krusic <brian@krusic.com> wrote: >>> mebbe xen-tools will work for you? >>> >>> http://www.xen-tools.org/software/xen-tools/ >>> >>> - Brian >> Hi Brian, >> >> I use xen-tools to create images, but I''m asling the list for some >> handy, easy script which ask me questions and then create the image... >> >> thanks for your answer. >> regards, >> Israel. > > Not sure what OS you''re using as the Dom0 system, but Red Hat and SuSE > include virt-install, don''t they? Or is that part of xen-tools. > > All you do is run virt-install, and it does exactly what you > described. OR, you can pass everything as an option. I used this many > times to install multiple VMs via Kickstart or YaST autoinstall. > > JeffHi Jeff, I''m using Debian lenny, I think debian brings virt-install package as: virtinst - Programs to create and clone virtual machines I''ll take a look at it. regards, Israel.> > -- > > Marie von Ebner-Eschenbach - "Even a stopped clock is right twice a > day." - > http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html >-- Regards; Israel Garcia _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Unsure what Xen ver you are using. But I noticed that after updating from the stock Centos Xen 3.1 to 3.4.1, virt-install now has a -prompt option. So all you do is type virt-install -prompt or --prompt and it guides you through. Mebbe this will work? On Fri Oct 16 22:26 , Israel Garcia sent:>On 10/16/09, Brian Krusic brian@krusic.com> wrote: >> mebbe xen-tools will work for you? >> >> http://www.xen-tools.org/software/xen-tools/ >> >> - Brian >Hi Brian, > >I use xen-tools to create images, but I''m asling the list for some >handy, easy script which ask me questions and then create the image... > >thanks for your answer. >regards, >Israel. >> >> On Oct 16, 2009, at 6:50 PM, Israel Garcia wrote: >> >>> Does any of you guys has some bash script to create a new guest >>> domain, by asking questions about RAM, HDD, SWAP,change apropiate xen >>> config files and finaly create the image? >>> >>> NOTE: I always use LVM on dom0. :-) >>> >>> thanks in advance. >>> -- >>> Regards; >>> Israel Garcia >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >> >> > > >-- >Regards; >Israel Garcia_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users