false
dhcp
eth0
auto
true
true
true
<% if os_release[:id] == 'opensuse-leap' %>
https://download.opensuse.org/distribution/leap/<%= os_release[:version] %>/repo/oss
repo-oss
repo-oss
https://download.opensuse.org/distribution/leap/<%= os_release[:version] %>/repo/non-oss
repo-non-oss
repo-non-oss
https://download.opensuse.org/update/leap/<%= os_release[:version] %>/oss
repo-update-oss
repo-update-oss
https://download.opensuse.org/update/leap/<%= os_release[:version] %>/non-oss
repo-update-non-oss
repo-update-non-oss
<% end %>
<% if os_release[:id] == 'opensuse-leap' %>
Leap
<% end %>
kvm_server
openssh
sudo
salt-minion
chrony
UTC
Etc/UTC
true <%# wipe out partition table before AutoYaST starts partition calculation %>
<% disk = disks.sort_by { |d| d[:size] }.first %> <%# find the [smallest] disk for main OS installation %>
<%= disk[:udev_names][0] %> <%# print the disk device name %>
/
max
btrfs
swap
auto
<% raidarray = disks.sort_by { |d| d[:size] }.slice(1..-1) %> <%# remove first [smallest] disk from array %>
<% if raidarray.length > 1 %> <%# if there is more than one disk remaining on the system, combine them into a raid array %>
<% for d in 0..raidarray.length - 1 %>
true <%# wipe out partition table before AutoYaST starts partition calculation %>
CT_DISK
<%= raidarray[d][:udev_names][0] %> <%# print full device name such as /dev/nvme0n1 %>
/dev/md/openqa <%# device node used within automount systemd service var-lib-automount %>
max
<% end %> <%# end for loop %>
CT_MD
/dev/md/openqa
raid0
<% for d in 0..raidarray.length - 1 %>
<%= raidarray[d][:udev_names][0] %>
<% end %>
<% else %> <%# maybe we have only one disk left on the system %>
<% if raidarray.length != 0 %>
true <%# wipe out partition table %>
<%= raidarray[0][:udev_names][0] %> <%# print full device name such as /dev/nvme0n1 %>
<%# create raid device even with a single disk to comply with systemd automount service %>
/dev/md/openqa
max
CT_MD
/dev/md/openqa
raid0
<%= raidarray[0][:udev_names][0] %>
<% end %> <%# end inner if %>
<% end %> <%# end outer if-else %>
true
true
public
public
ssh
sshd
chronyd