mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 19:23:42 +01:00
Merge branch 'master' into cp-rcp-new-functions
This commit is contained in:
32
docs/chapters/subcommands/config.rst
Normal file
32
docs/chapters/subcommands/config.rst
Normal file
@@ -0,0 +1,32 @@
|
||||
=======
|
||||
config
|
||||
=======
|
||||
|
||||
Gets or sets properties for a target container.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
Usage: bastille config TARGET get|set propertyName [newValue]
|
||||
|
||||
Getting a property that *is* defined in jail.conf:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille config azkaban get ip4.addr
|
||||
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 ip4.addr 192.168.2.24
|
||||
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.
|
||||
@@ -10,7 +10,7 @@ Syntax follows standard `/etc/fstab` format:
|
||||
|
||||
Usage: bastille mount TARGET HOST_PATH JAIL_PATH [filesystem_type options dump pass_number]
|
||||
|
||||
The 'options' string can include a comma-separated list of mount options, but must start with 'ro' or 'rw'.
|
||||
The 'options' string can include a comma-separated list of mount options, but must include one of (rw,ro,rq,sw,xx) according to fstab documentation.
|
||||
|
||||
Example: Mount a tmpfs filesystem with options.
|
||||
.. code-block:: shell
|
||||
|
||||
Reference in New Issue
Block a user