dataset/seed/host-systemd-machined/extras/machined/00_machined.xml

58 lines
3 KiB
XML
Raw Normal View History

2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name="systemd-nspawn@">
<file file_type="variable" source="nspawn" variable="machined.machines">machined.nspawn_zone_filename</file>
2023-02-14 14:24:16 +01:00
<file file_type="variable" source="network-script" variable="machined.machines" mode="700">machined.nspawn_script_network</file>
<file file_type="variable" source="tls-script" variable="machined.machines" mode="700">machined.nspawn_script_tls</file>
2022-03-08 19:42:28 +01:00
</service>
</services>
<variables>
2022-08-18 10:19:43 +02:00
<variable name="machines" description="Machines started in this host" type="domainname" multi="True" provider="Host"/>
2022-03-08 19:42:28 +01:00
<family name="machine_" description="Machine " dynamic="machined.machines">
2022-08-18 10:19:43 +02:00
<variable name="incoming_ports_" description="Incomming external ports for " hidden="True" type="port" multi="True" provider="Host:incoming_ports"/>
<variable name="outgoing_ports_" description="Outcoming external ports for " hidden="True" type="port" multi="True" provider="Host:outgoing_ports"/>
<variable name="srv_dir_" description="Directory with srv volume for " hidden="True" type="filename" provider="Host:machine_srv"/>
<variable name="journal_dir_" description="Directory with journal volume for " hidden="True" type="filename" provider="Host:machine_journal"/>
<variable name="config_dir_" description="Directory with configuration volume for " hidden="True" type="filename" provider="Host:config_dir" mandatory="True"/>
2023-02-14 14:24:16 +01:00
<variable name="tls_dir_" hidden="True" type="filename" provider="Host:machine_tls"/>
<variable name="zones_" description="Zones for " hidden="True" provider="Host:machine_zones" multi="True"/>
2022-12-25 17:08:52 +01:00
<variable name="ip_" description="IP for " type="ip" hidden="True"/>
2022-03-08 19:42:28 +01:00
</family>
<variable name="nspawn_zone_filename" type="filename" hidden="True" multi="True"/>
2023-02-14 14:24:16 +01:00
<variable name="nspawn_script_network" type="filename" hidden="True" multi="True"/>
<variable name="nspawn_script_tls" type="filename" hidden="True" multi="True"/>
2022-03-08 19:42:28 +01:00
</variables>
<constraints>
<fill name="calc_value">
2023-01-23 20:21:42 +01:00
<param>/sbin/network-</param>
2022-03-08 19:42:28 +01:00
<param type="variable">machined.machines</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
2023-02-14 14:24:16 +01:00
<target>machined.nspawn_script_network</target>
</fill>
<fill name="calc_value">
<param>/sbin/tls-</param>
<param type="variable">machined.machines</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>machined.nspawn_script_tls</target>
2022-03-08 19:42:28 +01:00
</fill>
<fill name="calc_value">
<param>/etc/systemd/nspawn/</param>
<param type="variable">machined.machines</param>
<param>.nspawn</param>
<param name="join"></param>
<param name="multi" type="boolean">True</param>
<target>machined.nspawn_zone_filename</target>
</fill>
2022-12-25 17:08:52 +01:00
<fill name="get_ip">
<param type="information">zones</param>
<param type="suffix"/>
<target>machined.machine_.ip_</target>
</fill>
2022-03-08 19:42:28 +01:00
</constraints>
</rougail>