forked from os-autoinst/openQA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automatic installation recipe autoyast profile
Related progress issue: https://progress.opensuse.org/issues/80382
- Loading branch information
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?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> | ||
<products config:type="list"> | ||
<product>openSUSE</product> | ||
</products> | ||
<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> |
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