use custom bind mount logic instead of fstab

This commit is contained in:
Jörg Thalheim 2016-01-09 10:09:23 +00:00
parent c77d54b16b
commit c2801b8fc7

View File

@ -24,5 +24,13 @@ until [ $retry -ge 10 ]; do
sleep 1 sleep 1
done done
echo "mount zfs datasets"
zfs mount -a zfs mount -a
mount -a
echo "do bind mounts"
ruby /etc/lxc/hooks/update-mounts
mount -o bind /data/containers/login/rootfs/home/joerg /home/joerg/login
mount -o bind /data/containers/login/rootfs/home/devkid /home/devkid/login
mount -o bind /data/containers/pyload/rootfs/var/lib/pyload /data/pyload
mount -o bind /data/pacman/pkg /var/cache/pacman/pkg
mount -o bind /data/pacman/sync /var/lib/pacman/sync