mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-22 10:10:46 +01:00
docs: Update config for new functions
This commit is contained in:
@@ -2,18 +2,14 @@
|
|||||||
config
|
config
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Gets or sets properties for a target container.
|
Get or set properties for targeted jail(s).
|
||||||
|
|
||||||
.. code-block:: shell
|
|
||||||
|
|
||||||
Usage: bastille config TARGET get|set propertyName [newValue]
|
|
||||||
|
|
||||||
Getting a property that *is* defined in jail.conf:
|
Getting a property that *is* defined in jail.conf:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
ishmael ~ # bastille config azkaban get ip4.addr
|
ishmael ~ # bastille config azkaban get ip4.addr
|
||||||
192.168.2.23
|
bastille0|192.168.2.23
|
||||||
|
|
||||||
Getting a property that *is not* defined in jail.conf
|
Getting a property that *is not* defined in jail.conf
|
||||||
|
|
||||||
@@ -26,7 +22,16 @@ Setting a property:
|
|||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
ishmael ~ # bastille config azkaban set ip4.addr 192.168.2.24
|
ishmael ~ # bastille config azkaban set allow.mlock 1
|
||||||
A restart is required for the changes to be applied. See 'bastille restart azkaban'.
|
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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user