Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Bind mounts

9 bytes added, 13:38, 11 July 2011
use SRC and DEST
cat << EOF > /etc/vz/conf/${CTID}.mount
#!/bin/bash
source . /etc/vz/vz.confsource . ${VE_CONFFILE}SRC=/mnt/diskDST=/mnt/diskmount -n -t simfs /mnt/disk ${SRC} ${VE_ROOT}/mnt/disk ${DST} -o /mnt/disk${SRC}
EOF
chmod +x /etc/vz/conf/${CTID}.mount