LXC copy container script
This commit is contained in:
parent
3622910561
commit
49a7b6d3a4
2 changed files with 5 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
vim/.netrwhist
|
||||||
4
scripts/copy-container
Executable file
4
scripts/copy-container
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# $1 is for the container to be copied
|
||||||
|
# $2 is the name of the newly snapshotted container
|
||||||
|
lxc-copy -n $1 -N $2 -B overlayfs -s
|
||||||
Loading…
Add table
Add a link
Reference in a new issue