mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-11 01:19:52 +01:00
docs: migrate: update for -k
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
migrate
|
migrate
|
||||||
=======
|
=======
|
||||||
|
|
||||||
The ``migrate`` sub-command allows migrating the targeted jail(s) to
|
The ``migrate`` sub-command allows migrating the targeted jail(s) to
|
||||||
another remote system. See the chapter on Migration.
|
another remote system. See the chapter on Migration.
|
||||||
|
|
||||||
This sub-command supports multiple targets.
|
This sub-command supports multiple targets.
|
||||||
@@ -18,13 +18,15 @@ port by supplying it as in ``user@host:port``.
|
|||||||
|
|
||||||
bastille migrate attica migrate@192.168.10.100
|
bastille migrate attica migrate@192.168.10.100
|
||||||
bastille migrate attica migrate@192.168.1.10:20022
|
bastille migrate attica migrate@192.168.1.10:20022
|
||||||
|
bastille migrate --keyfile id_rsa attica migrate@192.168.1.10
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||||
-d | --destroy Destroy local jail after migration.
|
-b | --backup Retain archives on remote system.
|
||||||
-b | --backup Retain archives on remote system.
|
-d | --destroy Destroy local jail after migration.
|
||||||
| --doas Use 'doas' instead of 'sudo'.
|
| --doas Use 'doas' instead of 'sudo'.
|
||||||
-l | --live Migrate a running jail (ZFS only).
|
-k | --keyfile Specify an alternative private keyfile name. Must be in '~/.ssh'
|
||||||
-p | --password Use password based authentication.
|
-l | --live Migrate a running jail (ZFS only).
|
||||||
-x | --debug Enable debug mode.
|
-p | --password Use password based authentication.
|
||||||
|
-x | --debug Enable debug mode.
|
||||||
@@ -44,14 +44,14 @@ usage() {
|
|||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||||
-b | --backup Retain archives on remote system.
|
-b | --backup Retain archives on remote system.
|
||||||
-d | --destroy Destroy local jail after migration.
|
-d | --destroy Destroy local jail after migration.
|
||||||
| --doas Use 'doas' instead of 'sudo'.
|
| --doas Use 'doas' instead of 'sudo'.
|
||||||
-k | --keyfile Specify an alternative private keyfile name. Must be in '~/.ssh'
|
-k | --keyfile Specify an alternative private keyfile name. Must be in '~/.ssh'
|
||||||
-l | --live Migrate a running jail (ZFS only).
|
-l | --live Migrate a running jail (ZFS only).
|
||||||
-p | --password Use password based authentication.
|
-p | --password Use password based authentication.
|
||||||
-x | --debug Enable debug mode.
|
-x | --debug Enable debug mode.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user