Skip to content

Instantly share code, notes, and snippets.

@ViktorNova
Last active September 23, 2015 20:04
Show Gist options
  • Save ViktorNova/7b0b3715d81ede90e350 to your computer and use it in GitHub Desktop.
Save ViktorNova/7b0b3715d81ede90e350 to your computer and use it in GitHub Desktop.

##Change Container Hostname vzctl set XXX --hostname newname --save

##Duplicate Container - Back up container ('Stop' & 'Good') - Ssh into the server and cd to the dump folder, then move the backup .tgz file to ../template/cache/ - Make a new container, using the backup as a template - Edit the container config file before starting the container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment