X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=host%2Fpart-boot-mount;fp=host%2Fpart-boot-mount;h=6f3ec0a3c3cb28fe4e947ce52cccfcb2ea786665;hp=82a6cef781ee37e793dbc60dd1af5c3fa97311b9;hb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d 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