docs: Document -P

This commit is contained in:
tschettervictor
2025-03-13 22:21:56 -06:00
committed by GitHub
parent 1e188d09fe
commit d28f416809

View File

@@ -11,6 +11,10 @@ You can only add an interface once to a jail, with two exceptions.
Bridges and VNET interfaces can be added to VNET jails, no matter if they were created with `-V` or `-B`.
It is possible to passthrough an entire interface from the host to the jail. This will make the interface fully available without the need for additional configuration. It will be available inside the jail just like it would be on the host. Adding an interface using this method will render it only available inside the jail. It will not be present on the host until the jail is stopped.
When cloning a jail that has a `-P|--passthrough` interface, you will have warnings when running both jails at the same time. The first jail to start will be assigned the interface, and since it will no longer be available to the host, it will not be possible to add it to the second jail.
.. code-block:: shell
ishmael ~ # bastille network help
@@ -21,7 +25,8 @@ Bridges and VNET interfaces can be added to VNET jails, no matter if they were c
-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 (VLAN+VNET only).
-n | --no-ip Create interface without an IP (VNET only).
-P | --passthrough Pass the entire interface througg 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.