docs: Document removal of passthrough interface

This commit is contained in:
tschettervictor
2025-03-13 22:27:05 -06:00
committed by GitHub
parent d28f416809
commit 694a43bed0

View File

@@ -11,9 +11,9 @@ 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.
It is possible to passthrough an entire interface from the host to the jail using the `-P|--passthrough` option. 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.
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. To solve this, you must manually remove the interface from the jail.conf file, or running `bastille network TARGET remove INTERFACE` while both jails are stopped.
.. code-block:: shell