scale-catalog/content/development/linked_configs.md
kjeld Schouten-Lebbing a96e963a33
Revert "Update from b59ca53e2e)"
This reverts commit bae3ff07de.
2020-07-20 16:11:52 +02:00

744 B

Linking Jail Configs

Intro

To keep things simple, you can easily link jail configs together, for example you can make the settings of your MariaDB jail accessable to your nextcloud jail. This can be done using a variable with the name: link_$Name, where $Name is just a description and the value in config.yml would be the actual jail to connect to.

For example: link_testjail: thisismytestjail

Would link "thisismytestjail" to your current jail.

using linked jails

Once setup one can reach all the variables of the linked jail using the following syntax: link_$Name_$variable

For example if we want the ipv4 address of the jail we linked earlier, during the install of another jail, we would do: link_testjail_ip4_addr