Version 0.3
authorrjones <devnull@localhost>
Fri, 14 Sep 2007 17:58:18 +0000 (18:58 +0100)
committerrjones <devnull@localhost>
Fri, 14 Sep 2007 17:58:18 +0000 (18:58 +0100)
Makefile
virt-p2v.sh

index 86ba446..c3f2270 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 # General configuration
 
 PACKAGE  := virt-p2v
-VERSION  := 0.2
+VERSION  := 0.3
 
 # i386 images also work on x86-64, so best to stick with i386.
 ARCH     := i386
index 688664e..474c732 100755 (executable)
@@ -487,7 +487,7 @@ while [ "$state" != "exit" ]; do
                dialog \
                    --title "Summary" \
                    --yesno "Transport: $remote_transport\nRemote host: $remote_host\nRemote port: $remote_port\nRemote directory (ssh only): $remote_directory\nDisks to send: $devices_to_send\nRoot filesystem: $root_filesystem\nNetwork configuration: $network\n\nProceed with these settings?" \
-                   23 70
+                   18 70
                if [ $? -eq 1 ]; then
                    state=transport
                else
@@ -508,6 +508,7 @@ clear
 log deactivating volume groups
 
 vgchange -a n
+mv /etc/lvm/lvm.conf /etc/lvm/lvm.conf.old
 mv /etc/lvm/lvm.conf.new /etc/lvm/lvm.conf
 rm -f /etc/lvm/cache/.cache
 
@@ -525,6 +526,7 @@ done
 # Rescan for LVs.
 log running vgscan
 vgscan
+vgchange -a y
 
 # Mount the root filesystem on /mnt/root.  If it's a physical
 # device then we want to mount (eg) /dev/mapper/snap_sda1.