Re: [Mageia-dev] Official VM images for Mageia 2?
On Wed, Jan 25, 2012 at 18:35, zezinho lists.jjo...@free.fr wrote: Le mercredi 25 janvier 2012 16:30:23, Romain d'Alverny a écrit : I'd like to discuss/plan how we can build and distribute ready to use VM images of Mageia 2 along with original ISOs, from our download pages. I use LiveCD for this kinds of tests. It takes only a few seconds to install it in a VM. This is an option, but LiveCDs do not provide a minimal system, and their intended use is more for a graphical user desktop. VMs can be used for scriptable config and deployment of test/staging/prod platforms, using shared recipes (chef, puppet, other). Providing a pre-installed, predictable minimal system is helpful in this case. I'm especially thinking about Vagrant boxes, but other images can be used for the same goals. It's not about changing/diminishing the current dev/packaging focus for Mageia 2 of course (not the same priority), it's to complement the build chain with an alternative way to use the platform in the end.
Re: [Mageia-dev] Official VM images for Mageia 2?
On Wednesday, 25 January 2012 17:30:23 Romain d'Alverny wrote: Hi there, I'd like to discuss/plan how we can build and distribute ready to use VM images of Mageia 2 along with original ISOs, from our download pages. Generic VM images, or ones targetted at specific uses? If specific uses, it might be worthwhile considering live ISOs targetted at the use case with installation support. In my case, I would consider looking at a minimal XBMC-based (possibly with samba and a few other tools as well) live ISO/USB. Target VMs: Xen, VMWare, Virtualbox, Vagrant (with a minimal install + specific config), other, you name it, as long as it can be managed (best would be to have these build automatically from source ISOs + ad-hoc auto_install.cfg + post install conf). Most of these tools support OVF, so do we have tools that can generate OVF easily? BTW., I have access to a VMWare vSphere environment with capaticy to run a few extra VMs (for testing images). For images for VMWare, it may also be worthwhile including some of the VMWare tools (there are open-source versions, and I believe Ubuntu ships these): http://sourceforge.net/projects/open-vm-tools/ (We have X11 driver and mouse input driver, but these should provide drag 'n' drop, window resize, memory ballooning, guest shutdown etc.). What about publishing official images to Amazon EC2? Uses can be: evaluation, development/staging environments, you name it too. hurdman has some experience and is a first volunteer to work on this; others? (input, recipes, hands). I don't know if there is that much value in providing specific VM images, when instead we may want to look at providing good tools for sharing VM configs and tools for easily generating images from those configs. Some interesting tools which we don't seem to have yet: http://libguestfs.org/ http://libguestfs.org/virt-v2v/ http://libguestfs.org/virt-copy-in.1.html http://libguestfs.org/virt-tar-in.1.html http://libguestfs.org/febootstrap.8.html Regards, Buchan
Re: [Mageia-dev] Official VM images for Mageia 2?
Le jeudi 26 janvier 2012 à 12:16 +0200, Buchan Milne a écrit : On Wednesday, 25 January 2012 17:30:23 Romain d'Alverny wrote: Uses can be: evaluation, development/staging environments, you name it too. hurdman has some experience and is a first volunteer to work on this; others? (input, recipes, hands). I don't know if there is that much value in providing specific VM images, when instead we may want to look at providing good tools for sharing VM configs and tools for easily generating images from those configs. Some interesting tools which we don't seem to have yet: http://libguestfs.org/ http://libguestfs.org/virt-v2v/ You can add oz, boxgrinder. And there is the script based on virt-install that i sent a few months ago ( still no release of virt-install, so no mageia integration, maybe I should start to poke maintainer for a release ). It should be fairly easy to generate vm as well as iso. -- Michael Scherer
Re: [Mageia-dev] Official VM images for Mageia 2?
On Thu, Jan 26, 2012 at 11:16, Buchan Milne bgmi...@staff.telkomsa.net wrote: On Wednesday, 25 January 2012 17:30:23 Romain d'Alverny wrote: Generic VM images, or ones targetted at specific uses? If specific uses, it might be worthwhile considering live ISOs targetted at the use case with installation support. In my case, I would consider looking at a minimal XBMC-based (possibly with samba and a few other tools as well) live ISO/USB. I would consider at least those 3: - a generic minimal system install ISO (quick to download and base from which we can generate more elaborate images) - equivalent generic minimal system VM - derivatives: - a Vagrant image (same as above + a specific user/packages setup) - your XBMC-based one I started playing with a boot.iso + auto_inst.cfg (this is really great, we ought to document it better somewhere about it) + Vagrant a few weeks ago, but didn't make it yet. Will clean this up and post it somewhere. Target VMs: Xen, VMWare, Virtualbox, Vagrant (with a minimal install + specific config), other, you name it, as long as it can be managed (best would be to have these build automatically from source ISOs + ad-hoc auto_install.cfg + post install conf). Most of these tools support OVF, so do we have tools that can generate OVF easily? No idea. What about publishing official images to Amazon EC2? Yes! I don't know if there is that much value in providing specific VM images, when instead we may want to look at providing good tools for sharing VM configs and tools for easily generating images from those configs. I'd say both. Sharing configs and tools is great, having a few small images available is great too for those that prefer to focus on using it at once (and for cloud hosts too). If we were to automate the process, could we chain somehow this: - bcd with a minimal system image - isocheck - vmbuild? foreach each vm config provided (we can store all this in svn), does: - push specific auto_inst script into the install ISO - run the ISO into the virtual environment - package the VM - checks - deliver to download
Re: [Mageia-dev] Official VM images for Mageia 2?
Hi *, On Thu, Jan 26, 2012 at 10:17 AM, Romain d'Alverny rdalve...@gmail.com wrote: On Wed, Jan 25, 2012 at 18:35, zezinho lists.jjo...@free.fr wrote: Le mercredi 25 janvier 2012 16:30:23, Romain d'Alverny a écrit : VMs can be used for scriptable config and deployment of test/staging/prod platforms, using shared recipes (chef, puppet, other). Providing a pre-installed, predictable minimal system is helpful in this case. Why not provide a kickstart image then? Or is kickstart auto-installation no longer supported by Mageia? I used it a while back with mandriva, and while a little hard to discover that feature, it worked quite well. This is then much easier to distribute (regular install-media + kickstart configuration) and can be installed unattended in any VM of the user's choice... ciao Christian
Re: [Mageia-dev] Official VM images for Mageia 2?
W dniu 25.01.2012 16:30, Romain d'Alverny pisze: Hi there, I'd like to discuss/plan how we can build and distribute ready to use VM images of Mageia 2 along with original ISOs, from our download pages. Target VMs: (...), Virtualbox, (...) Please take a note here https://forums.virtualbox.org/viewtopic.php?f=10t=46798 Quote: Unattended Guest OS Install - vbox-unattended (a.k.a. coffee break system installation) Good news ! I have finally achieved first milestone - first working version ! This project lets you to install any supported guest OS in 10 minutes !
Re: [Mageia-dev] Official VM images for Mageia 2?
On Thursday, 26 January 2012 13:37:38 Romain d'Alverny wrote: On Thu, Jan 26, 2012 at 11:16, Buchan Milne bgmi...@staff.telkomsa.net wrote: On Wednesday, 25 January 2012 17:30:23 Romain d'Alverny wrote: Generic VM images, or ones targetted at specific uses? If specific uses, it might be worthwhile considering live ISOs targetted at the use case with installation support. In my case, I would consider looking at a minimal XBMC-based (possibly with samba and a few other tools as well) live ISO/USB. I would consider at least those 3: - a generic minimal system install ISO (quick to download and base from which we can generate more elaborate images) - equivalent generic minimal system VM - derivatives: - a Vagrant image (same as above + a specific user/packages setup) - your XBMC-based one I started playing with a boot.iso + auto_inst.cfg (this is really great, we ought to document it better somewhere about it) + Vagrant a few weeks ago, but didn't make it yet. Will clean this up and post it somewhere. Target VMs: Xen, VMWare, Virtualbox, Vagrant (with a minimal install + specific config), other, you name it, as long as it can be managed (best would be to have these build automatically from source ISOs + ad-hoc auto_install.cfg + post install conf). Most of these tools support OVF, so do we have tools that can generate OVF easily? No idea. What about publishing official images to Amazon EC2? Yes! I don't know if there is that much value in providing specific VM images, when instead we may want to look at providing good tools for sharing VM configs and tools for easily generating images from those configs. I'd say both. Sharing configs and tools is great, having a few small images available is great too for those that prefer to focus on using it at once (and for cloud hosts too). If we were to automate the process, could we chain somehow this: - bcd with a minimal system image Why? Do you want to provide an installable (ie, drakx) ISO, that requires the user to click through the installation? If not, skip this. - isocheck - vmbuild? foreach each vm config provided (we can store all this in svn), does: - push specific auto_inst script into the install ISO Rather: 1)Install -use virt-install to boot a VM with auto_install pointing to official repo or -modify draklive to install into raw volumes (which also uses auto_install) 2)Convert raw volumes to OVF - run the ISO into the virtual environment - package the VM - checks - deliver to download Regards, Buchan
Re: [Mageia-dev] Official VM images for Mageia 2?
Le mercredi 25 janvier 2012 18:35:20 zezinho a écrit : Le mercredi 25 janvier 2012 16:30:23, Romain d'Alverny a écrit : I'd like to discuss/plan how we can build and distribute ready to use VM images of Mageia 2 along with original ISOs, from our download pages. I use LiveCD for this kinds of tests. It takes only a few seconds to install it in a VM. Is it really usefull to work on another media? Email Shield provided by NOCWorldWide.com I've sucessfuly place openvz templates for mandriva 2010.2 and 2011. when ready i will publish template for Mga2. Sorry Mga1 not good enought for server use, it misses to many packages. LD
[Mageia-dev] Official VM images for Mageia 2?
Hi there, I'd like to discuss/plan how we can build and distribute ready to use VM images of Mageia 2 along with original ISOs, from our download pages. Target VMs: Xen, VMWare, Virtualbox, Vagrant (with a minimal install + specific config), other, you name it, as long as it can be managed (best would be to have these build automatically from source ISOs + ad-hoc auto_install.cfg + post install conf). Uses can be: evaluation, development/staging environments, you name it too. hurdman has some experience and is a first volunteer to work on this; others? (input, recipes, hands).
Re: [Mageia-dev] Official VM images for Mageia 2?
Le mercredi 25 janvier 2012 16:30:23, Romain d'Alverny a écrit : I'd like to discuss/plan how we can build and distribute ready to use VM images of Mageia 2 along with original ISOs, from our download pages. I use LiveCD for this kinds of tests. It takes only a few seconds to install it in a VM. Is it really usefull to work on another media?