[NEW FEATURE] clone.sh
This commit is contained in:
13
README.md
13
README.md
@@ -44,6 +44,7 @@ Usage:
|
||||
Available Commands:
|
||||
bootstrap Bootstrap a FreeBSD release for container base.
|
||||
cmd Execute arbitrary command on targeted container(s).
|
||||
clone Clone an existing container.
|
||||
console Console into a running container.
|
||||
convert Convert a thin container into a thick container.
|
||||
cp cp(1) files from host to targeted container(s).
|
||||
@@ -925,6 +926,18 @@ Receiving zfs data stream...
|
||||
Container 'folsom' imported successfully.
|
||||
```
|
||||
|
||||
bastille clone
|
||||
---------------
|
||||
`bastille clone` will duplicate an existing container.
|
||||
Please be aware that no host specific keys or hashes will we regenerated.
|
||||
E. g. remove OpenSSH host keys to avoid duplicate host keys `rm /etc/ssh/ssh_host_*`
|
||||
|
||||
Usage: `bastille clone [TARGET] [NEWJAIL] [NEW_IPADRRESS]
|
||||
|
||||
```shell
|
||||
ishmael ~ # bastille clone sourcejail targetjail 10.17.89.11
|
||||
```
|
||||
|
||||
Example (create, start, console)
|
||||
================================
|
||||
This example creates, starts and consoles into the container.
|
||||
|
||||
Reference in New Issue
Block a user