X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=host%2Fpart-boot-mount;h=6f3ec0a3c3cb28fe4e947ce52cccfcb2ea786665;hb=f228751dce9fd401e93420b184e2146ed9858b36;hp=82a6cef781ee37e793dbc60dd1af5c3fa97311b9;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d;p=lhc%2Fateliers.git diff --git a/host/part-boot-mount b/host/part-boot-mount index 82a6cef..6f3ec0a 100755 --- a/host/part-boot-mount +++ b/host/part-boot-mount @@ -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