[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH][master] Support installing to disk image files.

> Patches 1, 2, 6, 8, 9, 10, 13, 14, 15, and 16 are just various cleanups.
> Patch 3 fixes a bug in handling partitions on device-mapper disks.
> Patches 4, 5, 7, 11, and 12 add support for installing to disk image files.

I say push it!

> Some known issues:
>  - There's no way to determine product name from liveinst for image installs.

We can check the .treeinfo once we're working on package installation,
but that is probably way too late for what you want to do.

>  - There's no way to configure network devices for the installed system.

We can document this and suggest people put something in their %post
scripts for kickstart installs, otherwise they'll have to do it
interactively later.

In general, this feature needs the proper exploitation - document and
hype to make sure everyone knows about it.

> To create image files you can use dd or qemu-img (raw format). Then, to do
> an install to the images, you would run something like this (after
> installing the anaconda rpm):
> LIVECMD="anaconda --image=/opt/disk1.img --image=/opt/disk2.img -m http://cannonball/install/rawhide/20101110/x86_64/os/"; liveinst

Might be worth making a really small shell script to wrap this and make
it less goofy.  But that's trivial.

- Chris

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]