Modification : $vm_ -> $local_ .
[lhc/ateliers.git] / host / part-boot-mount
index 82a6cef..6f3ec0a 100755 (executable)
@@ -2,7 +2,7 @@
 tool=$(readlink -e "${0%/*}/..")
 . "$tool"/host/lib.sh
 
-mountpoint -q /mnt/$vm_fqdn
-test -d /mnt/$vm_fqdn/boot
-mountpoint -q                           /mnt/$vm_fqdn/boot ||
-sudo mount -v -t ext2 $vm_dev_disk_boot /mnt/$vm_fqdn/boot
+mountpoint -q /mnt/$local_fqdn
+test -d /mnt/$local_fqdn/boot
+mountpoint -q                           /mnt/$local_fqdn/boot ||
+sudo mount -v -t ext2 $local_dev_disk_boot /mnt/$local_fqdn/boot