File installation.xml of Package skelcd-control-SLE_HPC

<?xml version="1.0"?>
<productDefines xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">

<!--
Work around for the text domain
textdomain="control"
-->

    <textdomain>control</textdomain>

    <texts>
        <roles_caption>
          <!-- TRANSLATORS: dialog caption -->
          <label>System Role</label>
        </roles_caption>
        <roles_text>
          <!-- TRANSLATORS: label in a dialog -->
          <label>System Roles are predefined use cases which tailor the system
for the selected scenario.</label>
        </roles_text>
        <roles_help>
          <!-- TRANSLATORS: dialog help -->
          <label>&lt;p&gt;The system roles adjustments are in the range from package selection up
to disk partitioning. By choosing a system role, the system is
configured accordingly to match the use case of the role. The settings
defined by a role can be overridden in the next steps if necessary.&lt;/p&gt;</label>
        </roles_help>
        <minimal_role>
          <!-- TRANSLATORS: a label for a system role -->
          <label>HPC Login and Development Node</label>
        </minimal_role>
        <minimal_role_description>
          <label>• Includes HPC-enabled libraries
• Adds compilers and development toolchain
</label>
        </minimal_role_description>
    </texts>

    <partitioning>
       <expert_partitioner_warning config:type="boolean">false</expert_partitioner_warning>

        <proposal>
            <lvm config:type="boolean">false</lvm>
            <proposal_settings_editable config:type="boolean">true</proposal_settings_editable>
        </proposal>

        <volumes config:type="list">
            <!-- / volume: 3 GiB - 10 GiB, *4 if snapshots are used -->
            <volume>
                <mount_point>/</mount_point>
                <fs_type>btrfs</fs_type>

                <desired_size config:type="disksize">5 GiB</desired_size>
                <min_size config:type="disksize">3 GiB</min_size>
                <max_size config:type="disksize">10 GiB</max_size>
                <weight config:type="integer">60</weight>

                <snapshots config:type="boolean">true</snapshots>
                <snapshots_configurable config:type="boolean">true</snapshots_configurable>
                <snapshots_percentage config:type="integer">300</snapshots_percentage>

                <!-- the default subvolume "@" was requested by product management -->
                <btrfs_default_subvolume>@</btrfs_default_subvolume>
                <btrfs_read_only config:type="boolean">false</btrfs_read_only>

                <!-- subvolumes to be created for a Btrfs root file system -->
                <!-- copy_on_write is true by default -->
                <subvolumes config:type="list">
                    <subvolume>
                        <path>home</path>
                    </subvolume>
                    <subvolume>
                        <path>opt</path>
                    </subvolume>
                    <subvolume>
                        <path>root</path>
                    </subvolume>
                    <subvolume>
                        <path>srv</path>
                    </subvolume>
                    <subvolume>
                        <path>tmp</path>
                    </subvolume>
                    <subvolume>
                        <path>usr/local</path>
                    </subvolume>
                    <!-- unified var subvolume - https://lists.opensuse.org/opensuse-packaging/2017-11/msg00017.html -->
                    <subvolume>
                        <path>var</path>
                        <copy_on_write config:type="boolean">false</copy_on_write>
                    </subvolume>

                    <!-- architecture specific subvolumes -->

                    <subvolume>
                        <path>boot/grub2/i386-pc</path>
                        <archs>i386,x86_64</archs>
                    </subvolume>
                    <subvolume>
                        <path>boot/grub2/x86_64-efi</path>
                        <archs>x86_64</archs>
                    </subvolume>
                    <subvolume>
                        <path>boot/grub2/powerpc-ieee1275</path>
                        <archs>ppc,!board_powernv</archs>
                    </subvolume>
                    <subvolume>
                        <path>boot/grub2/s390x-emu</path>
                        <archs>s390</archs>
                    </subvolume>
                </subvolumes>
            </volume>

            <!-- separate /home: 5 GiB - unlimited -->
            <volume>
                <mount_point>/home</mount_point>
                <fs_type>xfs</fs_type>

                <proposed_configurable config:type="boolean">true</proposed_configurable>

                <desired_size config:type="disksize">10 GiB</desired_size>
                <min_size config:type="disksize">5 GiB</min_size>
                <max_size config:type="disksize">unlimited</max_size>
                <max_size_lvm config:type="disksize">25 GiB</max_size_lvm>
                <weight config:type="integer">40</weight>

                <disable_order config:type="integer">1</disable_order>

                <!-- if this volume is disabled we want "/" to increase -->
                <fallback_for_desired_size>/</fallback_for_desired_size>
                <fallback_for_max_size>/</fallback_for_max_size>
                <fallback_for_max_size_lvm>/</fallback_for_max_size_lvm>
                <fallback_for_weight>/</fallback_for_weight>
            </volume>

            <!-- swap: 1 GiB - 2 GiB, but at least RAM size -->
            <volume>
                <mount_point>swap</mount_point>
                <fs_type>swap</fs_type>

                <proposed_configurable config:type="boolean">true</proposed_configurable>

                <desired_size config:type="disksize">2 GiB</desired_size>
                <min_size config:type="disksize">1 GiB</min_size>
                <max_size config:type="disksize">2 GiB</max_size>
                <weight config:type="integer">10</weight>
                <adjust_by_ram config:type="boolean">true</adjust_by_ram>
                <adjust_by_ram_configurable config:type="boolean">true</adjust_by_ram_configurable>

                <disable_order config:type="integer">2</disable_order>
            </volume>

        </volumes>
    </partitioning>

    <update>
      <system_roles>
        <insert_system_roles config:type="list">
          <insert_system_role>
            <!-- FATE#317481 -->
            <system_roles config:type="list">
              <system_role>
                <!-- the id is a key for texts/$id/label
                                     and texts/$id_description/label below -->
                <id>minimal_role</id>
                <!-- nothing is overlaid for the normal role -->

                <order config:type="integer">2000</order>
                <software>
		<!-- Role could also be used on laptop and workstation, so a graphical environment is
		     needed bsc#1090283  -->
                  <default_patterns>base hpc_compute_node hpc_libraries ofed hpc_development_node yast2_basis devel_basis x11 gnome_basic</default_patterns>
                  <!-- the cdata trick produces an empty string in the data
                       instead of omitting the key entirely -->
                  <optional_default_patterns></optional_default_patterns>
                </software>
              </system_role>
            </system_roles>
          </insert_system_role>
        </insert_system_roles>
      </system_roles>

      <workflows config:type="list">
        <workflow>
          <defaults>
            <archs>all</archs>
            <enable_back>no</enable_back>
            <enable_next>no</enable_next>
          </defaults>
          <mode>installation</mode>
          <stage>initial</stage>
          <append_modules config:type="list">
            <module>
                <name>scc</name>
                <enable_back>yes</enable_back>
                <enable_next>yes</enable_next>
            </module>
            <module>
                <label>System Analysis</label>
                <name>installation_options</name>
            </module>
            <module>
                <label>Add-On Products</label>
                <name>add-on</name>
                <enable_back>yes</enable_back>
                <enable_next>yes</enable_next>
            </module>
            <module>
                <label>Apply Modules Extensions</label>
                <name>modules_extensions</name>
            </module>
            <module>
                <name>download_release_notes</name>
            </module>
            <module>
                <name>system_role</name>
            </module>
             <module>
                <label>Disk</label>
                <name>disk_proposal</name>
                <enable_back>yes</enable_back>
                <enable_next>yes</enable_next>
            </module>
            <module>
                <label>Time Zone</label>
                <name>timezone</name>
                <enable_back>yes</enable_back>
                <enable_next>yes</enable_next>
                <arguments>
                    <first_run>yes</first_run>
                </arguments>
            </module>
            <module>
                <name>user_first</name>
            </module>
            <module>
                <name>root_first</name>
            </module>
            <module>
                <heading>yes</heading>
                <label>Installation</label>
            </module>
            <module>
                <label>Installation Summary</label>
                <name>initial_installation_proposal</name>
                <execute>inst_proposal</execute>
                <proposal>initial</proposal>
            </module>
            <!-- FATE #303860: Provide consistent progress during installation -->
            <module>
                <label>Perform Installation</label>
                <name>prepareprogress</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>prepdisk</name>
            </module>
            <!-- Clean up the inst-sys to have more free RAM on low memory systems -->
            <!-- Note: Needs to be call *after* the partitioning step as it might delete
            the file system or storage kernel modules from inst-sys. They need to be already
            loaded and active. -->
            <module>
                <label>Installer Cleanup</label>
                <name>instsys_cleanup</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>kickoff</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>rpmcopy</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>addon_update_sources</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>extrasources</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>save_hardware_status</name>
            </module>
            <module>
                <label>Perform Installation</label>
                <name>finish</name>
            </module>
          </append_modules>
        </workflow>

        <workflow>
            <stage>initial</stage>
            <label>Base Installation</label>
            <mode>autoinstallation</mode>
            <defaults>
                <archs>all</archs>
                <enable_back>no</enable_back>
                <enable_next>no</enable_next>
            </defaults>
            <append_modules config:type="list">
                <module>
                    <label>AutoYaST Settings</label>
                    <name>initial_autoinstallation_proposal</name>
                    <execute>inst_proposal</execute>
                    <proposal>initial</proposal>
                    <enable_back>no</enable_back>
                    <enable_next>yes</enable_next>
                </module>
                <!-- FATE #303860: Provide consistent progress during installation -->
                <module>
                    <label>Perform Installation</label>
                    <name>prepareprogress</name>
                </module>
                <module>
                    <label>Perform Installation</label>
                    <name>prepdisk</name>
                </module>
                <!-- Clean up the inst-sys to have more free RAM on low memory systems -->
                <!-- Note: Needs to be call *after* the partitioning step as it might delete
                the file system or storage kernel append_modules from inst-sys. They need to be already
                loaded and active. -->
                <module>
                    <label>Installer Cleanup</label>
                    <name>instsys_cleanup</name>
                </module>
                <module>
                    <label>Perform Installation</label>
                    <name>kickoff</name>
                </module>
                <module>
                    <label>Perform Installation</label>
                    <name>autoimage</name>
                </module>
                <module>
                    <label>Perform Installation</label>
                    <name>rpmcopy</name>
                </module>
                <module>
                    <label>Perform Installation</label>
                    <name>finish</name>
                </module>
            </append_modules>
        </workflow>

        <workflow>
            <defaults>
                <archs>all</archs>
                <enable_back>no</enable_back>
                <enable_next>no</enable_next>
            </defaults>
            <stage>continue</stage>
            <mode>autoinstallation</mode>
            <append_modules config:type="list">
                <module>
                    <label>Perform Installation</label>
                    <name>autopost</name>
                </module>
                <module>
                    <label>Perform Installation</label>
                    <name>rpmcopy_secondstage_autoinstall</name>
                    <execute>inst_rpmcopy_secondstage</execute>
                </module>
                <module>
                    <heading>yes</heading>
                    <label>Configuration</label>
                </module>
                <module>
                    <label>System Configuration</label>
                    <name>autoconfigure</name>
                </module>
            </append_modules>
        </workflow>

        <workflow>
            <defaults>
                <archs>all</archs>
                <enable_back>no</enable_back>
                <enable_next>no</enable_next>
            </defaults>
            <stage>continue</stage>
            <mode>autoupgrade</mode>
            <append_modules config:type="list">
                <module>
                    <label>Perform Update</label>
                    <name>autopost</name>
                </module>
                <module>
                    <label>Perform Update</label>
                    <name>rpmcopy_secondstage_autoupgrade</name>
                    <execute>inst_rpmcopy_secondstage</execute>
                </module>
                <module>
                    <heading>yes</heading>
                    <label>Configuration</label>
                </module>
                <module>
                    <label>System Configuration</label>
                    <name>autoconfigure</name>
                </module>
            </append_modules>
        </workflow>
      </workflows>
    </update>
</productDefines>
openSUSE Build Service is sponsored by