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"/>
|
2022-10-01 19:08:36 +02:00
|
|
|
<service name='systemd-machine-id-commit' disabled="True"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<service name="systemd-networkd">
|
|
|
|
<file redefine='True' disabled='True'>link_configurations</file>
|
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
2022-06-24 19:00:16 +02:00
|
|
|
<variable name="link_configurations" redefine="True" disabled="True"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="container_srv_path" type="filename" description="Nom du répertoire racine des données">
|
|
|
|
<value>/var/lib/risotto/srv</value>
|
|
|
|
</variable>
|
2022-08-18 10:19:43 +02:00
|
|
|
<variable name="srv_dir" description='Nom du répertoire des données' type="filename" hidden="True" supplier="Host:machine_srv"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="container_config_path" type="filename" description="Nom du répertoire racine des configurations">
|
|
|
|
<value>/var/lib/risotto/configurations</value>
|
|
|
|
</variable>
|
2022-08-18 10:19:43 +02:00
|
|
|
<variable name="config_dir" description='Nom du répertoire des configurations' type="filename" hidden="True" mandatory="True" supplier="Host:config_dir"/>
|
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-08-18 10:19:43 +02:00
|
|
|
<variable name="journal_dir" description='Nom du répertoire des journaux' type="filename" hidden="True" mandatory="True" supplier="Host:machine_journal"/>
|
2022-03-08 19:42:28 +01:00
|
|
|
<variable name="use_systemd_repart" redefine="True">
|
|
|
|
<value>False</value>
|
|
|
|
</variable>
|
2022-06-24 19:00:16 +02:00
|
|
|
<family name="network">
|
2022-12-25 17:08:52 +01:00
|
|
|
<variable name="incoming_ports" type="port" description="Ports exposés depuis l'extérieur" multi="True" supplier="Host:incoming_ports" hidden="True"/>
|
|
|
|
<variable name="outgoing_ports" type="port" description="Ports autorisés vers l'extérieur" multi="True" supplier="Host:outgoing_ports" hidden="True"/>
|
2022-06-24 19:00:16 +02:00
|
|
|
<variable name="netwokd_interface_name_type" redefine="True">
|
|
|
|
<value>host</value>
|
|
|
|
</variable>
|
2022-08-18 10:19:43 +02:00
|
|
|
<variable name="zones_list" redefine="True" supplier="Host:machine_zones"/>
|
2023-02-27 12:23:45 +01:00
|
|
|
<variable name="backup_dir" type="filename" hidden="True">
|
|
|
|
<value>/srv/backup</value>
|
|
|
|
</variable>
|
2022-06-24 19:00:16 +02:00
|
|
|
</family>
|
2022-03-08 19:42:28 +01:00
|
|
|
</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>
|
2022-08-18 10:19:43 +02:00
|
|
|
<param type="variable">server_name</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<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>
|
2022-08-18 10:19:43 +02:00
|
|
|
<param type="variable">server_name</param>
|
2022-04-28 21:48:16 +02:00
|
|
|
<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>
|
2022-08-18 10:19:43 +02:00
|
|
|
<param type="variable">server_name</param>
|
2022-03-08 19:42:28 +01:00
|
|
|
<param name="join"></param>
|
|
|
|
<target>config_dir</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|
|
|
|
|