mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 17:20:12 +01:00
38 lines
800 B
ReStructuredText
38 lines
800 B
ReStructuredText
=======
|
|
config
|
|
=======
|
|
|
|
Get or set properties for targeted jail(s).
|
|
|
|
Getting a property that *is* defined in jail.conf:
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille config azkaban get ip4.addr
|
|
bastille0|192.168.2.23
|
|
|
|
Getting a property that *is not* defined in jail.conf
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille config azkaban get notaproperty
|
|
not set
|
|
|
|
Setting a property:
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille config azkaban set allow.mlock 1
|
|
A restart is required for the changes to be applied. See 'bastille restart azkaban'.
|
|
|
|
The restart message will appear every time a property is set.
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille config help
|
|
Usage: bastille config TARGET [get|set] PROPERTY_NAME NEW_VALUE
|
|
Options:
|
|
|
|
-x | --debug Enable debug mode.
|
|
|