#!/bin/sh -eu tool=$(readlink -e "${0%/*}/..") . "$tool"/host/lib.sh test -e /dev/mapper/${vm_lvm_lv}_root_deciphered || sudo cryptsetup luksOpen $vm_dev_disk_root ${vm_lvm_lv}_root_deciphered mountpoint -q /mnt/$vm_fqdn || sudo mount -v -t ext4 /dev/mapper/${vm_lvm_lv}_root_deciphered /mnt/$vm_fqdn