Modification : $vm_ -> $local_ .
[lhc/ateliers.git] / host / part-root-umount
index 77beda8..f81781a 100755 (executable)
@@ -2,7 +2,7 @@
 tool=$(readlink -e "${0%/*}/..")
 . "$tool"/host/lib.sh
 
-! mountpoint -q /mnt/$vm_fqdn ||
-sudo umount -v  /mnt/$vm_fqdn
-! test -e     /dev/mapper/${vm_lvm_lv}_root_deciphered ||
-sudo cryptsetup luksClose ${vm_lvm_lv}_root_deciphered
+! mountpoint -q /mnt/$local_fqdn ||
+sudo umount -v  /mnt/$local_fqdn
+! test -e     /dev/mapper/${local_lvm_lv}_root_deciphered ||
+sudo cryptsetup luksClose ${local_lvm_lv}_root_deciphered