docs: document JID login for console

This commit is contained in:
tschettervictor
2025-01-11 16:00:10 -07:00
committed by GitHub
parent f55335e21c
commit 30767656c6

View File

@@ -2,8 +2,7 @@
console console
======= =======
This sub-command launches a login shell into the container. Default is password-less This sub-command launches a login shell into the container. Default is password-less root login.
root login.
.. code-block:: shell .. code-block:: shell
@@ -11,6 +10,23 @@ root login.
[folsom]: [folsom]:
root@folsom:~ # root@folsom:~ #
TARGET can also be a running jails JID value.
ishmael ~ # bastille list
JID IP Address Hostname Path
1 10.1.2.3 ishmael /usr/local/bastille/jails/ishmael/root
ishmael ~ # bastille console 1
[ishmael]:
root@ishmael:~ #
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 container and have full shell access. The
system is yours to use and/or abuse as you like. Any changes made inside the system is yours to use and/or abuse as you like. Any changes made inside the
container are limited to the container. container are limited to the container.
.. code-block:: shell
"Usage: bastille console [option(s)] TARGET [user]"
Options:
-a | --auto Auto mode. Start/stop jail(s) if required.
-x | --debug Enable debug mode.