mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-17 07:42:10 +01:00
basic spacing fixes for help commands
This commit is contained in:
@@ -122,7 +122,8 @@ begin applying your template.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille bootstrap help
|
||||
Usage: bastille bootstrap [option(s)] [RELEASE|TEMPLATE] [update|arch]
|
||||
Options:
|
||||
Usage: bastille bootstrap [option(s)] RELEASE|TEMPLATE [update|arch]
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -1,22 +1,15 @@
|
||||
clone
|
||||
=====
|
||||
|
||||
To clone a container and make a duplicate, use the ``bastille clone``
|
||||
sub-command.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille clone azkaban rikers ip
|
||||
[azkaban]:
|
||||
|
||||
Syntax requires a name for the new container and an IP address assignment.
|
||||
Clone/duplicate an existing jail to a new jail.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille clone help
|
||||
Usage: bastille clone [option(s)] TARGET NEW_NAME IP_ADDRESS
|
||||
Options:
|
||||
Usage: bastille clone [option(s)] TARGET NEW_NAME IP
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required. Cannot be used with [-l|--live].
|
||||
-l | --live Clone a running jail. ZFS only. Jail must be running. Cannot be used with [-a|--auto].
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required. Cannot be used with [-l|--live].
|
||||
-l | --live Clone a running jail (ZFS only). Cannot be used with [-a|--auto].
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -15,8 +15,9 @@ Execute commands inside targeted jail(s).
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille cmd help
|
||||
Usage: bastille cmd [option(s)] TARGET command
|
||||
Options:
|
||||
Usage: bastille cmd [option(s)] TARGET COMMAND
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config
|
||||
======
|
||||
|
||||
Get,set or remove properties from targeted jail(s).
|
||||
Get, set or remove properties from targeted jail(s).
|
||||
|
||||
Getting a property that *is* defined in jail.conf:
|
||||
|
||||
@@ -38,8 +38,8 @@ The restart message will appear every time a property is removed.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille config help
|
||||
Usage: bastille config TARGET [get|set|remove] PROPERTY [VALUE]
|
||||
Options:
|
||||
Usage: bastille config [option(s)] TARGET [get|(set|add)|remove] PROPERTY [VALUE]
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -1,7 +1,7 @@
|
||||
console
|
||||
=======
|
||||
|
||||
This sub-command launches a login shell into the container. Default is password-
|
||||
Launch a login shell into the jail. Default is password-
|
||||
less root login.
|
||||
|
||||
.. code-block:: shell
|
||||
@@ -10,15 +10,16 @@ less root login.
|
||||
[folsom]:
|
||||
root@folsom:~ #
|
||||
|
||||
At this point you are logged in to the container and have full shell access. The
|
||||
At this point you are logged in to the jail and have full shell access. The
|
||||
system is yours to use and/or abuse as you like. Any changes made inside the
|
||||
container are limited to the container.
|
||||
jail are limited to the jail.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille console help
|
||||
Usage: bastille console [option(s)] TARGET [user]
|
||||
Options:
|
||||
Usage: bastille console [option(s)] TARGET [USER]
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -1,17 +1,18 @@
|
||||
convert
|
||||
=======
|
||||
|
||||
Convert allows converting a thin jail to a thick jail.
|
||||
It also allows converting a thick jail to a customized release.
|
||||
Convert a thin jail to a thick jail.
|
||||
|
||||
Converting a thin jail to a thick jail requires only the target jail.
|
||||
Convert a thick jail to a custom release.
|
||||
|
||||
Converting a thin jail to a thick jail requires only the TARGET arg.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille convert azkaban
|
||||
|
||||
Converting a thick jail to a custom release requires a target jail as
|
||||
well as custom release name.
|
||||
Converting a thick jail to a custom release requires the TARGET and
|
||||
RELEASE as args.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
@@ -26,8 +27,9 @@ This release can then be used to create a thick jail using the ``--no-validate``
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille convert help
|
||||
Usage: bastille convert [option(s)] TARGET
|
||||
Options:
|
||||
Usage: bastille convert [option(s)] TARGET [RELEASE]
|
||||
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -1,7 +1,7 @@
|
||||
cp
|
||||
==
|
||||
|
||||
This command allows copying files from host to jail(s).
|
||||
Copy files from host to jail(s).
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
@@ -25,7 +25,8 @@ Unless you see errors reported in the output the ``cp`` was successful.
|
||||
|
||||
ishmael ~ # bastille cp help
|
||||
Usage: bastille cp [option(s)] TARGET HOST_PATH JAIL_PATH
|
||||
Options:
|
||||
|
||||
-q | --quiet Suppress output.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-q | --quiet Suppress output.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -1,9 +1,8 @@
|
||||
create
|
||||
======
|
||||
|
||||
Bastille create uses any available bootstrapped release to create a lightweight
|
||||
container system. To create a container simply provide a name, bootstrapped
|
||||
release and a private (rfc1918) IP address.
|
||||
Create a jail uning any available bootstrapped release. To create a jail,
|
||||
simply provide a name, bootstrapped release, and IP address.
|
||||
|
||||
The format is ``bastille create NAME RELEASE IP [INTERFACE]``
|
||||
|
||||
@@ -54,20 +53,21 @@ options. See the below help output.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille create help
|
||||
Usage: bastille create [option(s)] NAME RELEASE IP_ADDRESS [interface]"
|
||||
Options:
|
||||
Usage: bastille create [option(s)] NAME RELEASE IP [INTERFACE]"
|
||||
|
||||
Options:
|
||||
|
||||
-B | --bridge Enables VNET, VNET containers are attached to a specified, already existing external bridge.
|
||||
-C | --clone Creates a clone container, they are duplicates of the base release, consume low space and preserves changing data.
|
||||
-D | --dual Creates the jails with both IPv4 and IPv6 networking ('inherit' and 'ip_hostname' only).
|
||||
-E | --empty Creates an empty container, intended for custom jail builds (thin/thick/linux or unsupported).
|
||||
-L | --linux This option is intended for testing with Linux jails, this is considered experimental.
|
||||
-M | --static-mac Generate a static MAC address for jail (VNET only).
|
||||
--no-validate Do not validate the release when creating the jail.
|
||||
--no-boot Create jail with boot=off.
|
||||
-p | --priority VALUE Set priority value for jail.
|
||||
-T | --thick Creates a thick container, they consume more space as they are self contained and independent.
|
||||
-V | --vnet Enables VNET, VNET containers are attached to a virtual bridge interface for connectivity.
|
||||
-v | --vlan VLANID Creates the jail with specified VLAN ID (VNET only).
|
||||
-x | --debug Enable debug mode.
|
||||
-Z | --zfs-opts [zfs,options] Comma separated list of ZFS options to create the jail with. This overrides the defaults.
|
||||
-B | --bridge Enable VNET, and attach to a specified, already existing external bridge.
|
||||
-C | --clone Create a clone jail.
|
||||
-D | --dual Create jail with both IPv4 and IPv6 networking ('inherit' and 'ip_hostname' only).
|
||||
-E | --empty Create an empty container, intended for custom jail builds (thin/thick/linux or unsupported).
|
||||
-L | --linux Create a Linux jail (experimental).
|
||||
-M | --static-mac Generate a static MAC address for jail (VNET only).
|
||||
--no-validate Do not validate the release when creating the jail.
|
||||
--no-boot Create jail with boot=off.
|
||||
-p | --priority VALUE Set priority value for jail.
|
||||
-T | --thick Creates a thick container, they consume more space as they are self contained and independent.
|
||||
-V | --vnet Enable VNET, and attach to an existing, physical interface.
|
||||
-v | --vlan VLANID Creates the jail with specified VLAN ID (VNET only).
|
||||
-x | --debug Enable debug mode.
|
||||
-Z | --zfs-opts [zfs,options] Comma separated list of ZFS options to create the jail with. This overrides the defaults.
|
||||
@@ -21,11 +21,12 @@ option will retain the release cache (*.txz file), if you choose to keep it.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille destroy help
|
||||
Usage: bastille destroy [option(s)] [JAIL|RELEASE]
|
||||
Options:
|
||||
Usage: bastille destroy [option(s)] JAIL|RELEASE
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-c | --no-cache Do no destroy cache when destroying a release.
|
||||
-f | --force Force unmount any mounted datasets when destroying a jail or release (ZFS only).
|
||||
-y | --yes Do no prompt. Just destroy.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-c | --no-cache Do no destroy cache when destroying a release.
|
||||
-f | --force Force unmount any mounted datasets when destroying a jail or release (ZFS only).
|
||||
-y | --yes Do no prompt. Just destroy.
|
||||
-x | --debug Enable debug mode.
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
edit
|
||||
====
|
||||
|
||||
To edit a jails configuration, use ``bastille edit TARGET``.
|
||||
Edit jail config files.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille edit azkaban [filename]
|
||||
ishmael ~ # bastille edit azkaban [FILE]
|
||||
|
||||
Syntax requires a target an optional filename. By default the file edited will
|
||||
be ``jail.conf``. Other common filenames are ``fstab`` or ``rctl.conf``.
|
||||
@@ -13,7 +13,8 @@ be ``jail.conf``. Other common filenames are ``fstab`` or ``rctl.conf``.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille edit help
|
||||
Usage: bastille edit [option(s)] TARGET [filename]
|
||||
Options:
|
||||
Usage: bastille edit [option(s)] TARGET [FILE]
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -40,8 +40,9 @@ To show only the differences between the releases, use the ``diff`` command.
|
||||
|
||||
ishmael ~ # bastille etcupdate help
|
||||
Usage: bastille etcupdate [option(s)] [bootstrap|TARGET] [diff|resolve|update RELEASE]
|
||||
Options:
|
||||
|
||||
-d | --dry-run Show output, but do not apply.
|
||||
-f | --force Force a re-bootstrap of a RELEASE.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-d | --dry-run Show output, but do not apply.
|
||||
-f | --force Force a re-bootstrap of a RELEASE.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -23,14 +23,15 @@ Available options are:
|
||||
|
||||
ishmael ~ # bastille export help
|
||||
Usage: bastille export [option(s)] TARGET PATH
|
||||
Options:
|
||||
|
||||
--gz Export a ZFS jail using GZIP(.gz) compressed image.
|
||||
-r | --raw Export a ZFS jail to an uncompressed RAW image.
|
||||
-s | --safe Safely stop and start a ZFS jail before the exporting process.
|
||||
--tgz Export a jail using simple .tgz compressed archive instead.
|
||||
--txz Export a jail using simple .txz compressed archive instead.
|
||||
-v | --verbose Be more verbose during the ZFS send operation.
|
||||
--xz Export a ZFS jail using XZ(.xz) compressed image.
|
||||
Options:
|
||||
|
||||
--gz Export a ZFS jail using GZIP(.gz) compressed image.
|
||||
-r | --raw Export a ZFS jail to an uncompressed RAW image.
|
||||
-s | --safe Safely stop and start a ZFS jail before the exporting process.
|
||||
--tgz Export a jail using simple .tgz compressed archive instead.
|
||||
--txz Export a jail using simple .txz compressed archive instead.
|
||||
-v | --verbose Be more verbose during the ZFS send operation.
|
||||
--xz Export a ZFS jail using XZ(.xz) compressed image.
|
||||
|
||||
Note: If no export option specified, the container should be redirected to standard output.
|
||||
|
||||
@@ -12,7 +12,8 @@ in the jail.
|
||||
|
||||
ishmael ~ # bastille htop help
|
||||
Usage: bastille htop [options(s)] TARGET
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -1,7 +1,7 @@
|
||||
import
|
||||
======
|
||||
|
||||
Import a container backup image or archive.
|
||||
Import a jail backup image or archive.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
@@ -16,11 +16,12 @@ To import to a specified release, specify it as the last argument.
|
||||
|
||||
ishmael ~ # bastille import help
|
||||
Usage: bastille import [option(s)] FILE [RELEASE]
|
||||
Options:
|
||||
|
||||
-f | --force Force an archive import regardless if the checksum file does not match or missing.
|
||||
-M | --static-mac Generate static MAC for jail when importing foreign jails like iocage.
|
||||
-v | --verbose Be more verbose during the ZFS receive operation.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-f | --force Force an archive import regardless if the checksum file does not match or missing.
|
||||
-M | --static-mac Generate static MAC for jail when importing foreign jails like iocage.
|
||||
-v | --verbose Be more verbose during the ZFS receive operation.
|
||||
-x | --debug Enable debug mode.
|
||||
|
||||
Tip: If no option specified, container should be imported from standard input.
|
||||
@@ -1,7 +1,7 @@
|
||||
jcp
|
||||
===
|
||||
|
||||
This command allows copying files from jail to jail(s).
|
||||
Copy files from jail to jail(s).
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
@@ -23,7 +23,8 @@ Unless you see errors reported in the output the ``jcp`` was successful.
|
||||
|
||||
ishmael ~ # bastille jcp help
|
||||
Usage: bastille jcp [option(s)] SOURCE_JAIL JAIL_PATH DEST_JAIL JAIL_PATH
|
||||
Options:
|
||||
|
||||
-q | --quiet Suppress output.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-q | --quiet Suppress output.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -42,11 +42,12 @@ This file can be edited manually using ``bastille edit TARGET cpuset.conf``.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille limits help
|
||||
Usage: bastille limits [option(s)] TARGET [add OPTION VALUE|remove OPTION|clear|reset|[list|show] (active)|stats]
|
||||
Example: bastille limits TARGET add memoryuse 1G
|
||||
Example: bastille limits TARGET add cpu 0,1,2
|
||||
Usage: bastille limits [option(s)] TARGET [add|remove|clear|reset|(list|show [active])|stats] OPTION [VALUE]
|
||||
|
||||
Example: bastille limits TARGET add memoryuse 1G
|
||||
Example: bastille limits TARGET add cpu 0,1,2
|
||||
|
||||
Options:
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -14,10 +14,10 @@ to print in columns instead of rows.
|
||||
ishmael ~ # bastille list help
|
||||
Usage: bastille list [option(s)] [RELEASE (-p)] [all] [backup(s)] [export(s)] [import(s)] [ip(s)] [jail(s)] [limit(s)] [log(s)]
|
||||
[path(s)] [port(s)] [prio|priority] [state(s)] [template(s)]
|
||||
Options:
|
||||
Options:
|
||||
|
||||
-d | --down List stopped jails only.
|
||||
-j | --json List jails or sub-arg(s) in json format.
|
||||
-p | --pretty Print JSON in columns.
|
||||
-u | --up List running jails only.
|
||||
-x | --debug Enable debug mode.
|
||||
-d | --down List stopped jails only.
|
||||
-j | --json List jails or sub-arg(s) in json format.
|
||||
-p | --pretty Print JSON in columns.
|
||||
-u | --up List running jails only.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -14,17 +14,17 @@ port by supplying it as in ``user@host:port``.
|
||||
ishmael ~ # bastille migrate help
|
||||
Usage: bastille migrate [option(s)] TARGET USER@HOST[:PORT]
|
||||
|
||||
Examples:
|
||||
Examples:
|
||||
|
||||
bastille migrate attica migrate@192.168.10.100
|
||||
bastille migrate attica migrate@192.168.1.10:20022
|
||||
bastille migrate attica migrate@192.168.10.100
|
||||
bastille migrate attica migrate@192.168.1.10:20022
|
||||
|
||||
Options:
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-d | --destroy Destroy local jail after migration.
|
||||
-b | --backup Retain archives on remote system.
|
||||
| --doas Use 'doas' instead of 'sudo'.
|
||||
-l | --live Migrate a running jail (ZFS only).
|
||||
-p | --password Use password based authentication.
|
||||
-x | --debug Enable debug mode.
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-d | --destroy Destroy local jail after migration.
|
||||
-b | --backup Retain archives on remote system.
|
||||
| --doas Use 'doas' instead of 'sudo'.
|
||||
-l | --live Migrate a running jail (ZFS only).
|
||||
-p | --password Use password based authentication.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -33,15 +33,16 @@ network TARGET remove INTERFACE`` while both jails are stopped.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille network help
|
||||
Usage: bastille network [option(s)] TARGET [remove|add] INTERFACE [IP_ADDRESS]
|
||||
Options:
|
||||
Usage: bastille network [option(s)] TARGET [remove|add] INTERFACE [IP]
|
||||
|
||||
-a | --auto Start/stop the jail(s) if required.
|
||||
-B | --bridge Add a bridged VNET interface to an existing jail.
|
||||
-C | --classic Add an interface to a classic (non-VNET) jail.
|
||||
-M | --static-mac Generate a static MAC address for the interface.
|
||||
-n | --no-ip Create interface without an IP (VNET only).
|
||||
-P | --passthrough Pass the entire interface through to the jail.
|
||||
-V | --vnet Add a VNET interface to an existing jail.
|
||||
-v | --vlan VLANID Add interface with specified VLAN ID (VNET only).
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Start/stop the jail(s) if required.
|
||||
-B | --bridge Add a bridged VNET interface to an existing jail.
|
||||
-C | --classic Add an interface to a classic (non-VNET) jail.
|
||||
-M | --static-mac Generate a static MAC address for the interface.
|
||||
-n | --no-ip Create interface without an IP (VNET only).
|
||||
-P | --passthrough Pass the entire interface through to the jail.
|
||||
-V | --vnet Add a VNET interface to an existing jail.
|
||||
-v | --vlan VLANID Add interface with specified VLAN ID (VNET only).
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -107,10 +107,11 @@ you can fully leverage the pkg manager. This means, ``install``, ``update``,
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille pkg help
|
||||
Usage: bastille pkg [option(s)] TARGET COMMAND ARGS
|
||||
Options:
|
||||
Usage: bastille pkg [option(s)] TARGET ARGS
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-H | --host Use the hosts 'pkg' instead of the jails.
|
||||
-y | --yes Assume always yes for pkg. Do not prompt.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-H | --host Use the hosts 'pkg' instead of the jails.
|
||||
-y | --yes Assume always yes for pkg. Do not prompt.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -15,7 +15,8 @@ Unless you see errors reported in the output the ``rcp`` was successful.
|
||||
|
||||
ishmael ~ # bastille rcp help
|
||||
Usage: bastille rcp [option(s)] TARGET JAIL_PATH HOST_PATH
|
||||
Options:
|
||||
|
||||
-q | --quiet Suppress output.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-q | --quiet Suppress output.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -73,10 +73,10 @@ only redirect using the default one.
|
||||
# bastille rdr --help
|
||||
Usage: bastille rdr TARGET [option(s)] [clear|reset|list|(tcp|udp host_port jail_port [log ['(' logopts ')'] ] )]
|
||||
|
||||
Options:
|
||||
Options:
|
||||
|
||||
-i | --interface [interface] Set the interface to create the rdr rule on. Useful if you have multiple interfaces.
|
||||
-s | --source [source ip] Limit rdr to a source IP. Useful to only allow access from a certian IP or subnet.
|
||||
-d | --destination [destination ip] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface.
|
||||
-t | --type [ipv4|ipv6] Specify IP type. Must be used if -s or -d are used. Defaults to both.
|
||||
-x | --debug Enable debug mode.
|
||||
-i | --interface [interface] Set the interface to create the rdr rule on. Useful if you have multiple interfaces.
|
||||
-s | --source [source ip] Limit rdr to a source IP. Useful to only allow access from a certian IP or subnet.
|
||||
-d | --destination [destination ip] Limit rdr to a destination IP. Useful if you have multiple IPs on one interface.
|
||||
-t | --type [ipv4|ipv6] Specify IP type. Must be used if -s or -d are used. Defaults to both.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -11,7 +11,8 @@ Rename a jail.
|
||||
|
||||
ishmael ~ # bastille rename help
|
||||
Usage: bastille rename [option(s)] TARGET NEW_NAME
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -18,9 +18,10 @@ are stopped will not be started.
|
||||
|
||||
ishmael ~ # bastille restart help
|
||||
Usage: bastille start [option(s)] TARGET
|
||||
Options:
|
||||
|
||||
-b | --boot Respect jail boot setting.
|
||||
-d | --delay VALUE Time (seconds) to wait after starting each jail.
|
||||
-v | --verbose Print every action on jail restart.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-b | --boot Respect jail boot setting.
|
||||
-d | --delay VALUE Time (seconds) to wait after starting each jail.
|
||||
-v | --verbose Print every action on jail restart.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -17,8 +17,9 @@ inside the jail(s).
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille service help
|
||||
Usage: bastille service [option(s)] TARGET SERVICE_NAME ACTION
|
||||
Options:
|
||||
Usage: bastille service [option(s)] TARGET SERVICE_NAME ARGS
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -13,9 +13,10 @@ Start jail(s).
|
||||
|
||||
ishmael ~ # bastille start help
|
||||
Usage: bastille start [option(s)] TARGET
|
||||
Options:
|
||||
|
||||
-b | --boot Respect jail boot setting.
|
||||
-d | --delay VALUE Time (seconds) to wait after starting each jail.
|
||||
-v | --verbose Print every action on jail start.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-b | --boot Respect jail boot setting.
|
||||
-d | --delay VALUE Time (seconds) to wait after starting each jail.
|
||||
-v | --verbose Print every action on jail start.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -13,7 +13,8 @@ Stop jail(s).
|
||||
|
||||
ishmael ~ # bastille stop help
|
||||
Usage: bastille stop [option(s)] TARGET
|
||||
Options:
|
||||
|
||||
-v | --verbose Print every action on jail stop.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-v | --verbose Print every action on jail stop.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -15,8 +15,9 @@ See ``man sysrc(8)`` for more info.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille sysrc help
|
||||
Usage: bastille sysrc [option(s)] TARGET args
|
||||
Options:
|
||||
Usage: bastille sysrc [option(s)] TARGET ARGS
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -15,6 +15,7 @@ The ``tags`` sub-command adds, removes or lists arbitrary tags on your jail(s).
|
||||
|
||||
ishmael ~ # bastille tags help
|
||||
Usage: bastille tags [option(s)] TARGET [add|delete|list] [tag1,tag2]
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -12,12 +12,14 @@ placed in the template directory, which defaults to
|
||||
``/usr/local/bastille/templates``. The Bastillefile should contain the template
|
||||
hooks. See the chapter called Template for a list of supported hooks.
|
||||
|
||||
The TEMPLATE arg should be called with the ``project/template`` format.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille template help
|
||||
Usage: bastille template [option(s)] TARGET [--convert|project/template]
|
||||
Usage: bastille template [option(s)] TARGET [--convert] TEMPLATE
|
||||
|
||||
Options:
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -12,7 +12,8 @@ This command runs ``top`` in the targeted jail.
|
||||
|
||||
ishmael ~ # bastille top help
|
||||
Usage: bastille top [options(s)] TARGET
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -31,7 +31,8 @@ backslash \, and enclose the mount point in quotes "".
|
||||
|
||||
ishmael ~ # bastille umount help
|
||||
Usage: bastille umount [option(s)] TARGET JAIL_PATH
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -45,8 +45,9 @@ will be updated just like the release shown above.
|
||||
|
||||
ishmael ~ # bastille update help
|
||||
Usage: bastille update [option(s)] TARGET
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-f | --force Force update a release.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-f | --force Force update a release.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -8,9 +8,10 @@ upgraded normally.
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille upgrade help
|
||||
Usage: bastille upgrade [option(s)] TARGET [NEWRELEASE|install]
|
||||
Options:
|
||||
Usage: bastille upgrade [option(s)] TARGET NEW_RELEASE|install
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-f | --force Force upgrade a jail.
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-f | --force Force upgrade a jail.
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -37,6 +37,7 @@ release or template .
|
||||
|
||||
ishmael ~ # bastille verify help
|
||||
Usage: bastille verify [option(s)] RELEASE|TEMPLATE
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
@@ -7,7 +7,10 @@ targeted jail(s).
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille zfs help
|
||||
Usage: bastille zfs TARGET [set|get|snap|destroy_snap|df|usage] [key=value|date]
|
||||
Options:
|
||||
Usage: bastille zfs [option(s)] TARGET [destroy_snap|(df|usage)|get|set|(snap|snapshot)] [key=value|date]
|
||||
[jail pool/dataset /jail/path]
|
||||
[unjail pool/dataset]
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Options:
|
||||
|
||||
-x | --debug Enable debug mode.
|
||||
Reference in New Issue
Block a user