I like to proceed step by step for the LVM stuff... this is a little patch that add the pvcreate commands during the partitioning. Not yet tested!
-- Andrea Righi System Management Group - CINECA - http://www.cineca.it Via Magnanelli 6/3 40033 Casalecchio di Reno (BO) - Italy e-mail: [EMAIL PROTECTED]
--- lib/SystemImager/Server.pm~ 2005-01-19 10:48:07.254387544 +0100 +++ lib/SystemImager/Server.pm 2005-01-19 10:48:33.677370640 +0100 @@ -751,6 +751,12 @@ $cmd = "parted -s -- $devfs_dev set $m $flag on || shellout\n"; print $out "echo $cmd"; print $out "$cmd"; + if ($flag eq "lvm") { + # Initialize the partition for use by LVM. -AR- + $cmd = "pvcreate $part || shellout\n"; + print $out "echo $cmd"; + print $out "$cmd"; + } } } }