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
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
# 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.
-# If it's a LVM device (which it probably won't be for Linux because
-# Linux doesn't support it) then we can just mount the LVM
-# partition.
+# device then we want to mount (eg) /dev/mapper/snap_sda2.
+# If it's a LVM device then we can just mount the LVM partition.
log mount $root_filesystem as /mnt/root