use custom bind mount logic instead of fstab
This commit is contained in:
parent
c77d54b16b
commit
c2801b8fc7
10
decrypt-zfs
10
decrypt-zfs
@ -24,5 +24,13 @@ until [ $retry -ge 10 ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "mount zfs datasets"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user