Re: Installing image payloads

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

 



Am Mittwoch, den 09.04.2014, 17:14 -0400 schrieb David Lehman:
> 
> ----- Original Message -----
> > From: "Fabian Deutsch" <fabiand@xxxxxxxxxx>
> > To: anaconda-devel-list@xxxxxxxxxx
> > Sent: Wednesday, April 9, 2014 11:05:28 AM
> > Subject: Installing image payloads
> > 
> > Hey,
> > 
> > as mentioned in my earlier email I'm working on oVirt Node.
> > 
> > One special thing about Node is that we deploy an image, forming the
> > rootfs, and not packages which then form the rootfs.
> > 
> > Currently we have our own installer carrying all the necessary bits to
> > do this.
> > 
> > I now wonder if we could probably add some features to anaconda to
> > deploy an image, instead of packages.
> 
> Support for this already exists. All you have to do is create a new class
> based on pyanaconda.packaging.ImagePayload. See the classes in livepayload.py
> for examples.

Hey David,

thanks. Yes, I think that class goes much into the direction we also
want.

> > 
> > The basic idea is that the rootfs is rolled out (as in dd'ed) using an
> > existing image, and not yum (or the other file based solutions).
> > 
> > Note: Important to note here is that the image should be copied/dd'ed as
> > is, not file-wise copied into a new FS (liek it's happening with the
> > liveimg payload IIUIC).
> 
> This may introduce limitations on the possible storage layouts, which is
> the main reason we switched from copying the image ala dd to using rsync.

True. The storage layout is not as "free" as it is when you do it file
based.
We'd have to add those constraints to the logic.

> > 
> > The idea is to roll out the image into a LV, then create a write-able
> > snapshot or thin volume and use that as the rootfs.
> > 
> > Form that point on there shouldn't be a to big difference between a file
> > based deployment and the image based one.
> > Ok - Granted. There will surely be some more details which need to be
> > addressed, e.g. the bootloader.
> > 
> > Any thoughts on this and can someone maybe tell if this is doable with
> > anaconda?
> 
> It is definitely doable. You will have to write your own Payload class and
> you may have to do some hacking to pull off the snapshot bit you described.

Great. I also had that impression, but it's nice to see that someone
else is judging it this way too.

Oh - Is there somewhere a document describing how I can create the
anaconda boot image?

Thanks and greetings
fabian

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux