tool=$(readlink -e "${0%/*}/..")
. "$tool"/host/lib.sh
-mount | grep -q "^$vm_dev_disk_boot " ||
+mount | grep -q "^$local_dev_disk_boot " ||
sudo mke2fs -t ext2 -c -c -m 5 -T small \
- -E resize=1G${vm_e2fs_extended_options} \
- -L ${vm_lvm_lv}_boot $vm_dev_disk_boot
+ -E resize=1G${local_e2fs_extended_options} \
+ -L ${local_lvm_lv}_boot $local_dev_disk_boot