dataset/seed/applicationservice/2022.03.08/host-systemd-machined/dictionaries/21-machined.xml
2022-03-08 19:42:28 +01:00

68 lines
3 KiB
XML

<?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>
<service name="systemd-nspawn@">
<file>/tmpfiles.d/0asystemd-nspawn.conf</file>
<file>/etc/systemd/system/systemd-nspawn@.service.d/systemd-nspawn@.conf</file>
<file>/etc/distro.repos.d/boot.repo</file>
<file>/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-35-x86_64</file>
<file>/etc/sysctl.d/90-risotto.conf</file>
<file file_type="variable" source="dhcp.network" variable="host_dhcp_interface">host_dhcp_filename</file>
</service>
</services>
<variables>
<variable name="host_install_dir" type="filename" description="Nom du répertoire comprenant les descriptions d'installation" mandatory="True"/>
<variable name="host_dhcp_interface" description="Carte réseau en DHCP" multi="True"/>
<variable name="host_dhcp_filename" type="filename" hidden="True" multi="True"/>
<variable name="host_name" type="hostname" hidden="True"/>
<variable name="systemd_zone_filename" type="filename" hidden="True" multi="True"/>
<variable name="systemd_netzone_filename" type="filename" hidden="True" multi="True"/>
<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">
<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>
<param type="variable">host_dhcp_interface</param>
<param>.network</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>host_dhcp_filename</target>
</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>
<fill name="calc_value">
<param type="information">server_name</param>
<target>host_name</target>
</fill>
<fill name="get_internal_zone_information">
<param type="variable">zone_name</param>
<param>cidr</param>
<target>zone_cidr</target>
</fill>
</constraints>
</rougail>