Open main menu
OpenVZ Virtuozzo Containers Wiki
β
Search
Changes
← Older edit
Newer edit →
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.conf
source
.
${VE_CONFFILE}
SRC=/mnt/disk
DST=/mnt/disk
mount -n -t simfs
/mnt/disk
${SRC}
${VE_ROOT}
/mnt/disk
${DST}
-o
/mnt/disk
${SRC}
EOF
chmod +x /etc/vz/conf/${CTID}.mount
Kir
Bureaucrats
,
Administrators
6,534
edits