On Fri, Apr 27, 2012 at 10:12:03AM -0500, David A. Marlin wrote:
I don't know how that works, but since it does I think it would
be
good to leverage that approach (whatever it is).
It seems to do this. See anaconda.git/pyanaconda/livecd.py:
rootDevice.format.targetSize = rootDevice.size
rootDevice.format.doResize(intf=anaconda.intf)
# ensure we have a random UUID on the rootfs
rootDevice.format.writeRandomUUID()
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora