Created
August 15, 2022 14:17
-
-
Save okurz/8521015ffd7c756fbe03d8ba92c05cd9 to your computer and use it in GitHub Desktop.
This file contains 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"> | |
<networking> | |
<keep_install_network config:type="boolean">true</keep_install_network> | |
</networking> | |
<software> | |
<packages config:type="list"> | |
<package>openssh</package> | |
<package>sudo</package> | |
<package>salt-minion</package> | |
</packages> | |
</software> | |
<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[ | |
zypper in salt-minion | |
echo 'roles: worker' > /etc/salt/grains | |
systemctl enable --now sshd salt-minion | |
]]></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> | |
<timezone> | |
<hwclock>UTC</hwclock> | |
<timezone>Europe/Berlin</timezone> | |
</timezone> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment