2022-03-08 19:42:28 +01:00
<?xml version="1.0" encoding="utf-8"?>
<rougail version= "0.10" >
<services >
<service name= "systemd-machined" >
<file > /etc/systemd/network/80-container-vz.network</file>
<file file_type= "variable" source= "70-container.network" variable= "zone_name" > systemd_zone_filename</file>
<file file_type= "variable" source= "70-container.netdev" variable= "zone_name" > systemd_netzone_filename</file>
</service>
2022-12-25 17:08:52 +01:00
<service name= "risotto-images" engine= "cheetah" manage= "False" />
2022-10-01 19:13:56 +02:00
<service name= "systemd-sysctl" />
<service name= "systemd-networkd" />
<service name= "systemd-resolved" />
2022-12-25 17:08:52 +01:00
<service name= "risotto-images" type= "timer" engine= "cheetah" />
<service name= "risottofirewall" engine= "cheetah" />
2022-03-08 19:42:28 +01:00
<service name= "systemd-nspawn@" >
2023-01-23 20:21:42 +01:00
<file > /tmpfiles.d/0asystemd-nspawn.conf</file>
2022-03-08 19:42:28 +01:00
<file > /etc/systemd/system/systemd-nspawn@.service.d/systemd-nspawn@.conf</file>
<file > /etc/distro.repos.d/boot.repo</file>
2023-01-17 21:43:32 +01:00
<file engine= "none" > /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-35-x86_64</file>
<file engine= "none" > /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-36-x86_64</file>
<file engine= "none" > /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64</file>
<file engine= "none" > /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-36</file>
2022-03-08 19:42:28 +01:00
<file > /etc/sysctl.d/90-risotto.conf</file>
2022-12-25 17:08:52 +01:00
<file file_type= "variable" source= "dhcp.network" variable= "interface_names" > host_network_filename</file>
2022-03-08 19:42:28 +01:00
</service>
</services>
<variables >
2022-12-25 17:08:52 +01:00
<variable name= "host_install_dir" type= "filename" description= "Nom du répertoire comprenant les descriptions d'installation" mandatory= "True" provider= "global:host_install_dir" />
2022-08-18 10:19:43 +02:00
<variable name= "host_name" type= "domainname" hidden= "True" provider= "global:server_name" mandatory= "True" />
2022-10-01 19:13:56 +02:00
<variable name= "module_name" type= "string" hidden= "True" provider= "global:module_name" mandatory= "True" />
2022-03-08 19:42:28 +01:00
<variable name= "systemd_zone_filename" type= "filename" hidden= "True" multi= "True" />
<variable name= "systemd_netzone_filename" type= "filename" hidden= "True" multi= "True" />
2022-10-01 19:13:56 +02:00
<variable name= "vm_swappiness" type= "number" description= "Ajustement de la mémoire virtuelle" mandatory= "True" >
<value > 60</value>
</variable>
<variable name= "host_packages" multi= "True" hidden= "True" >
<value > systemd-container</value>
<value > dnf</value>
<value > jq</value>
<value > debootstrap</value>
<value > htop</value>
2022-12-25 17:08:52 +01:00
<value > iotop</value>
<value > man</value>
2022-10-01 19:13:56 +02:00
<value > gettext</value>
<value > patch</value>
<value > unzip</value>
<value > mlocate</value>
<value > xz-utils</value>
<value > iptables</value>
2022-12-25 17:08:52 +01:00
<value > curl</value>
<value > tree</value>
<value > tshark</value>
<value > vim</value>
2023-01-17 21:43:32 +01:00
<value > python3-pytest</value>
<value > python3-yaml</value>
<value > python3-ldap</value>
<value > python3-dnspython</value>
<value > python3-dulwich</value>
<value > python3-psycopg2</value>
<value > python3-redis</value>
2023-01-23 20:21:42 +01:00
<value > python3-imaplib2</value>
2022-10-01 19:13:56 +02:00
</variable>
2022-07-04 15:44:18 +02:00
<family name= "network" >
<variable name= "output_interface" description= "Nom de l'interface de sortie" mandatory= "True" />
2022-12-25 17:08:52 +01:00
<family name= "interfaces" leadership= "True" >
<variable name= "interface_names" description= "Nom de l'interface" multi= "True" mandatory= "True" />
<variable name= "interface_type" type= "choice" description= "Type de la carte" mandatory= "True" >
<choice > dhcp</choice>
<choice > ipv4</choice>
<value > dhcp</value>
</variable>
<variable name= "interface_ip" type= "cidr" description= "IP au format CIDR de l'interface" mandatory= "True" />
<variable name= "interface_gateway" type= "ip" description= "IP de la route par défaut" mandatory= "True" />
<variable name= "interface_domain_name_servers" type= "ip" description= "IP des serveurs DNS" mandatory= "True" multi= "True" />
<variable name= "first_interface" type= "boolean" hidden= "True" />
</family>
<variable name= "host_network_filename" type= "filename" multi= "True" hidden= "True" />
2022-07-04 15:44:18 +02:00
</family>
2022-03-08 19:42:28 +01:00
<family name= "zones" leadership= "True" >
<variable name= "zone_name" type= "string" hidden= "True" multi= "True" />
<variable name= "zone_cidr" type= "cidr" hidden= "True" />
</family>
</variables>
<constraints >
<fill name= "get_internal_zone_names" >
2022-12-25 17:08:52 +01:00
<param type= "information" > zones</param>
2022-03-08 19:42:28 +01:00
<target > zone_name</target>
</fill>
<fill name= "calc_value" >
<param > /etc/systemd/network/70-container-</param>
<param type= "variable" > zone_name</param>
<param > .network</param>
<param name= "join" > </param>
<param name= "multi" type= "boolean" > True</param>
<target > systemd_zone_filename</target>
</fill>
<fill name= "calc_value" >
<param > /etc/systemd/network/80-</param>
2022-12-25 17:08:52 +01:00
<param type= "variable" > interface_names</param>
2022-03-08 19:42:28 +01:00
<param > .network</param>
<param name= "join" > </param>
<param name= "multi" type= "boolean" > True</param>
2022-12-25 17:08:52 +01:00
<target > host_network_filename</target>
2022-03-08 19:42:28 +01:00
</fill>
<fill name= "calc_value" >
<param > /etc/systemd/network/70-container-</param>
<param type= "variable" > zone_name</param>
<param > .netdev</param>
<param name= "join" > </param>
<param name= "multi" type= "boolean" > True</param>
<target > systemd_netzone_filename</target>
</fill>
2022-12-25 17:08:52 +01:00
<fill name= "get_zones_info" >
<param type= "information" > zones</param>
2022-03-08 19:42:28 +01:00
<param > cidr</param>
2022-12-25 17:08:52 +01:00
<param type= "variable" name= "zone_name" > zone_name</param>
2022-03-08 19:42:28 +01:00
<target > zone_cidr</target>
</fill>
2022-12-25 17:08:52 +01:00
<fill name= "is_first_interface" >
<param type= "index" />
<target > first_interface</target>
</fill>
<condition name= "disabled_if_not_in" source= "interface_type" >
<param > ipv4</param>
<target > interface_ip</target>
<target > interface_gateway</target>
<target > interface_domain_name_servers</target>
</condition>
<condition name= "disabled_if_not_in" source= "first_interface" >
<param > True</param>
<target > interface_gateway</target>
<target > interface_domain_name_servers</target>
</condition>
2022-03-08 19:42:28 +01:00
</constraints>
</rougail>