[virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-21 Thread Martin Ellis
Hi all, I've been trying to use preseeding [1] to automate installations of Debian- based VMs. I'd been using an HTTP server to provide the configuration file, but then found the following feature in the virt-tools changelog: "New virt-install --initrd-inject option, which enables installation

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Martin Ellis
Two things I should have mentioned, to corroborate my patch: On 21 October 2010 23:02, Martin Ellis wrote: > I had a look at the patch that introduced this feature [2], and noticed > that it was using cpio -c when repacking the initrd. The -c option corresponds to the 'odc' format: http://info2ht

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Cole Robinson
On 10/22/2010 05:39 AM, Martin Ellis wrote: > Two things I should have mentioned, to corroborate my patch: > > On 21 October 2010 23:02, Martin Ellis wrote: >> I had a look at the patch that introduced this feature [2], and noticed >> that it was using cpio -c when repacking the initrd. > > The -

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Martin Ellis
On 22 October 2010 14:14, Cole Robinson wrote: > Thanks for the patch, I'll give it a spin. What distro are you testing with? Cool, thanks. I'm testing with an Ubuntu 10.04 host, installing a Debian 'Lenny' VM. Martin ___ virt-tools-list mailing list

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Richard W.M. Jones
On Thu, Oct 21, 2010 at 11:02:41PM +0100, Martin Ellis wrote: [...] Kickstart is the anaconda-equivalent of preseeding. > I've been trying to use preseeding [1] to automate installations of > Debian-based VMs. > [1] http://d-i.alioth.debian.org/manual/en.i386/apb.html Another way to do this is w

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-25 Thread Martin Ellis
On 22 October 2010 19:38, Richard W.M. Jones wrote: > Another way to do this is with guestfish or virt-make-fs. Thanks! I wasn't aware of these programs at all. I think for preseeding, though, I prefer the initrd injection because that way the installer sees a completely bare (virtual) system.

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-27 Thread Cole Robinson
On 10/21/2010 06:02 PM, Martin Ellis wrote: > Hi all, > > I've been trying to use preseeding [1] to automate installations of Debian- > based VMs. I'd been using an HTTP server to provide the configuration file, > but then found the following feature in the virt-tools changelog: > > "New virt-i