Created
February 23, 2024 14:54
-
-
Save b10n1k/6fb30a04f49e7856da1b88b413c3da3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE profile> | |
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> | |
<general> | |
<mode> | |
<confirm config:type="boolean">false</confirm> | |
</mode> | |
</general> | |
<networking> | |
<!-- okurz: 2023-06-13: For multiple network interfaces by default the last is configured, prefer the first --> | |
<interfaces config:type="list"> | |
<interface> | |
<bootproto>dhcp</bootproto> | |
<name>eth0</name> | |
<startmode>auto</startmode> | |
</interface> | |
</interfaces> | |
<keep_install_network config:type="boolean">true</keep_install_network> | |
<routing t="map"> | |
<ipv4_forward t="boolean">true</ipv4_forward> | |
<ipv6_forward t="boolean">true</ipv6_forward> | |
</routing> | |
</networking> | |
<software> | |
<patterns config:type="list"> | |
<pattern>kvm_server</pattern> | |
</patterns> | |
<packages config:type="list"> | |
<package>openssh</package> | |
<package>sudo</package> | |
<package>salt-minion</package> | |
<package>chrony</package> | |
</packages> | |
</software> | |
<timezone t="map"> | |
<hwclock>UTC</hwclock> | |
<timezone>Etc/UTC</timezone> | |
</timezone> | |
<partitioning config:type="list"> | |
<drive> | |
<initialize config:type="boolean">true</initialize> | |
<partitions config:type="list"> | |
<partition> | |
<mount>/</mount> | |
<size>max</size> | |
<filesystem config:type="symbol">btrfs</filesystem> | |
</partition> | |
<partition> | |
<mount>swap</mount> | |
<size>auto</size> | |
</partition> | |
</partitions> | |
</drive> | |
</partitioning> | |
<scripts> | |
<post-scripts config:type="list"> | |
<script> | |
<filename>setup.sh</filename> | |
<interpreter>shell</interpreter> | |
<debug config:type="boolean">true</debug> | |
<source><![CDATA[ | |
echo 'roles: worker' > /etc/salt/grains | |
]]></source> | |
</script> | |
</post-scripts> | |
</scripts> | |
<firewall> | |
<enable_firewall config:type="boolean">true</enable_firewall> | |
<start_firewall config:type="boolean">true</start_firewall> | |
<FW_CONFIGURATIONS_EXT>sshd</FW_CONFIGURATIONS_EXT> | |
</firewall> | |
<services-manager t="map"> | |
<services> | |
<enable config:type="list"> | |
<service>sshd</service> | |
<service>chronyd</service> | |
</enable> | |
</services> | |
</services-manager> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment