Jeremy,
the attached patch should fix the problem. You can check it applying the
patch directly to the source:
patch -p0 < systemimager-lvm-fix.patch
Let me know if it works.
Thank you for the bug report,
-Andrea
Index: lib/SystemImager/Server.pm
===================================================================
--- lib/SystemImager/Server.pm (revision 3399)
+++ lib/SystemImager/Server.pm (working copy)
@@ -1413,8 +1413,9 @@
print $out qq(mkraid --really-force $real_dev || shellout\n)
unless (defined($xml_config->{raid}));
} elsif( $real_dev =~ /^(.*?)(p?\d+)$/ ) {
- unless($dev2disk{$1}) { next; }
- $real_dev = "\${".$dev2disk{$1}."}".$2;
+ if ($dev2disk{$1}) {
+ $real_dev = "\${".$dev2disk{$1}."}".$2;
+ }
}
# swap