- --cipher=aes-xts-essiv:sha256 --align-payload=8 $vm_dev_disk_root
- sudo cryptsetup luksOpen $vm_dev_disk_root ${vm_lvm_lv}_root_deciphered
- sudo mke2fs -t ext4 -c -c -m 5 -T ext4 -b $vm_e2fs_block_size \
- -E resize=30G${vm_e2fs_extended_options} \
- -L ${vm_lvm_lv}_root \
- /dev/mapper/${vm_lvm_lv}_root_deciphered
- ! mountpoint -q /mnt/$vm_fqdn
- sudo mount -v /dev/mapper/${vm_lvm_lv}_root_deciphered /mnt/$vm_fqdn
+ --cipher=aes-xts-essiv:sha256 --align-payload=8 $local_dev_disk_root
+ sudo cryptsetup luksOpen $local_dev_disk_root ${local_lvm_lv}_root_deciphered
+ sudo mke2fs -t ext4 -c -c -m 5 -T ext4 -b $local_e2fs_block_size \
+ -E resize=30G${local_e2fs_extended_options} \
+ -L ${local_lvm_lv}_root \
+ /dev/mapper/${local_lvm_lv}_root_deciphered
+ ! mountpoint -q /mnt/$local_fqdn
+ sudo mount -v /dev/mapper/${local_lvm_lv}_root_deciphered /mnt/$local_fqdn