Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Bind mounts

2 bytes added, 10:12, 13 February 2012
m
no edit summary
<source lang="bash">
CTID=777
 
cat << EOF > /etc/vz/conf/${CTID}.mount
#!/bin/bash
mount -n -t simfs ${SRC} ${VE_ROOT}${DST} -o ${SRC}
EOF
 
chmod +x /etc/vz/conf/${CTID}.mount
</source>
10
edits