X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=host%2Fpart-root-umount;fp=host%2Fpart-root-umount;h=f81781a5a7fabd344f96b98a7a9383b420f8d03d;hp=77beda8be47e79965af7e836979eec80d37e03ca;hb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/host/part-root-umount b/host/part-root-umount index 77beda8..f81781a 100755 --- a/host/part-root-umount +++ b/host/part-root-umount @@ -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