2022-03-08 19:42:28 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name='dev-hugepages' type='mount' disabled="True"/>
|
|
|
|
<service name='systemd-oomd' disabled="True"/>
|
|
|
|
<service name='systemd-homed' disabled="True"/>
|
|
|
|
<service name="systemd-networkd">
|
|
|
|
<file redefine='True' disabled='True'>link_configurations</file>
|
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<variable name="container_srv_path" type="filename" description="Nom du répertoire racine des données">
|
|
|
|
<value>/var/lib/risotto/srv</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="container_config_path" type="filename" description="Nom du répertoire racine des configurations">
|
|
|
|
<value>/var/lib/risotto/configurations</value>
|
|
|
|
</variable>
|
2022-04-28 21:48:16 +02:00
|
|
|
<variable name="container_journal_path" type="filename" description="Nom du répertoire racine des journaux">
|
|
|
|
<value>/var/lib/risotto/journals</value>
|
|
|
|
</variable>
|
2022-03-11 18:41:49 +01:00
|
|
|
<variable name="host" type="domainname" description="Machine où est démarrer le conteneur" mandatory="True"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="external_ports" type="port" description="Port exposé depuis l'extérieur" multi="True"/>
|
|
|
|
<variable name="srv_dir" type="filename" hidden="True"/>
|
2022-04-28 21:48:16 +02:00
|
|
|
<variable name="journal_dir" type="filename" hidden="True" mandatory="True"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="config_dir" type="filename" hidden="True" mandatory="True"/>
|
|
|
|
<variable name="use_systemd_repart" redefine="True">
|
|
|
|
<value>False</value>
|
|
|
|
</variable>
|
|
|
|
<variable name="netwokd_interface_name_type" redefine="True">
|
|
|
|
<value>host</value>
|
|
|
|
</variable>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<condition name="disabled_if_in" source="machine.add_srv">
|
|
|
|
<param>False</param>
|
|
|
|
<target type="variable">srv_dir</target>
|
|
|
|
</condition>
|
|
|
|
<fill name="calc_value">
|
|
|
|
<param type="variable">container_srv_path</param>
|
|
|
|
<param>/</param>
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<param name="join"></param>
|
|
|
|
<target>srv_dir</target>
|
|
|
|
</fill>
|
2022-04-28 21:48:16 +02:00
|
|
|
<fill name="calc_value">
|
|
|
|
<param type="variable">container_journal_path</param>
|
|
|
|
<param>/</param>
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<param name="join"></param>
|
|
|
|
<target>journal_dir</target>
|
|
|
|
</fill>
|
2022-03-08 19:42:28 +01:00
|
|
|
<fill name="calc_value">
|
|
|
|
<param type="variable">container_config_path</param>
|
|
|
|
<param>/</param>
|
|
|
|
<param type="variable">domain_name_eth0</param>
|
|
|
|
<param name="join"></param>
|
|
|
|
<target>config_dir</target>
|
|
|
|
</fill>
|
|
|
|
<check name="set_linked">
|
|
|
|
<param name="linked_provider">machines</param>
|
|
|
|
<param name="linked_value" type="variable">domain_name_eth0</param>
|
|
|
|
<target>host</target>
|
|
|
|
</check>
|
|
|
|
<check name="set_linked_configuration">
|
|
|
|
<param name="linked_server" type="variable">host</param>
|
|
|
|
<param name="linked_provider">external_ports</param>
|
|
|
|
<param name="dynamic" type="variable">domain_name_eth0</param>
|
|
|
|
<target>external_ports</target>
|
|
|
|
</check>
|
|
|
|
<check name="set_linked_configuration">
|
|
|
|
<param name="linked_server" type="variable">host</param>
|
|
|
|
<param name="linked_provider">machine_srv</param>
|
|
|
|
<param name="dynamic" type="variable">domain_name_eth0</param>
|
|
|
|
<target>srv_dir</target>
|
|
|
|
</check>
|
2022-04-28 21:48:16 +02:00
|
|
|
<check name="set_linked_configuration">
|
|
|
|
<param name="linked_server" type="variable">host</param>
|
|
|
|
<param name="linked_provider">machine_journal</param>
|
|
|
|
<param name="dynamic" type="variable">domain_name_eth0</param>
|
|
|
|
<target>journal_dir</target>
|
|
|
|
</check>
|
2022-03-08 19:42:28 +01:00
|
|
|
<check name="set_linked_configuration">
|
|
|
|
<param name="linked_server" type="variable">host</param>
|
|
|
|
<param name="linked_provider">machine_config</param>
|
|
|
|
<param name="dynamic" type="variable">domain_name_eth0</param>
|
|
|
|
<target>config_dir</target>
|
|
|
|
</check>
|
|
|
|
<check name="set_linked_configuration">
|
|
|
|
<param name="linked_server" type="variable">host</param>
|
|
|
|
<param name="linked_provider">machine_zones</param>
|
|
|
|
<param name="dynamic" type="variable">domain_name_eth0</param>
|
|
|
|
<target>zones_list</target>
|
|
|
|
</check>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|
|
|
|
|