forked from stove/dataset
77 lines
3.5 KiB
XML
77 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="systemd-machined">
|
|
<file>/etc/systemd/system/risotto-images.service</file>
|
|
<file>/etc/systemd/system/risotto-images.timer</file>
|
|
<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="risottofirewall" engine="creole" target="multi-user">
|
|
</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/pki/rpm-gpg/RPM-GPG-KEY-fedora-36-x86_64</file>
|
|
<file>/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-36</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_filename" type="filename" hidden="True" multi="True"/>
|
|
<variable name="host_name" type="domainname" 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="network">
|
|
<variable name="host_dhcp_interface" description="Carte réseau en DHCP" multi="True"/>
|
|
<variable name="output_interface" description="Nom de l'interface de sortie" mandatory="True"/>
|
|
</family>
|
|
<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>
|