-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into multiple-interfaces
- Loading branch information
Showing
27 changed files
with
1,204 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
=== | ||
jcp | ||
=== | ||
|
||
This command allows copying files from jail to jail(s). | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille jcp bastion /tmp/resolv.conf-cf ALL /etc/resolv.conf | ||
[unbound0]: | ||
/usr/local/bastille/jails/bastion/root/tmp/resolv.conf-cf -> /usr/local/bastille/jails/unbound0/root/etc/resolv.conf | ||
[unbound1]: | ||
/usr/local/bastille/jails/bastion/root/tmp/resolv.conf-cf -> /usr/local/bastille/jails/unbound1/root/etc/resolv.conf | ||
[squid]: | ||
/usr/local/bastille/jails/bastion/root/tmp/resolv.conf-cf -> /usr/local/bastille/jails/squid/root/etc/resolv.conf | ||
[nginx]: | ||
/usr/local/bastille/jails/bastion/root/tmp/resolv.conf-cf -> /usr/local/bastille/jails/nginx/root/etc/resolv.conf | ||
[folsom]: | ||
/usr/local/bastille/jails/bastion/root/tmp/resolv.conf-cf -> /usr/local/bastille/jails/folsom/root/etc/resolv.conf | ||
Unless you see errors reported in the output the `jcp` was successful. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille jcp help | ||
Usage: bastille jcp [option(s)] SOURCE_JAIL JAIL_PATH DEST_JAIL JAIL_PATH | ||
Options: | ||
-q | --quiet Suppress output. | ||
-x | --debug Enable debug mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
=== | ||
rcp | ||
=== | ||
|
||
This command allows copying files from jail to host. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille rcp bastion /test/testfile.txt /tmp/testfile.txt | ||
[bastion]: | ||
/usr/local/bastille/jails/bastion/root/test/testfile.txt -> /tmp/testfile.txt | ||
Unless you see errors reported in the output the `rcp` was successful. | ||
|
||
.. code-block:: shell | ||
ishmael ~ # bastille rcp help | ||
Usage: bastille rcp [option(s)] TARGET JAIL_PATH HOST_PATH | ||
Options: | ||
-q | --quiet Suppress output. | ||
-x | --debug Enable debug mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.