Changes

Jump to: navigation, search

Cloning VE

125 bytes added, 09:19, 10 February 2010
no edit summary
# OLDVE=222 NEWVE=333 # Just an example
# vzctl stop $OLDVE
# mkdir /vz/root/$NEWVE # on debian, configuration is under /etc/vz/ # cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf # on debian, configuration is under /etc/vz/
# mkdir /vz/private/$NEWVE
# pushd /vz/private/$OLDVE; tar c --numeric-owner * | tar x --numeric-owner -C /vz/private/$NEWVE; popd
Anonymous user

Navigation menu