Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
skelcd-control-suse-manager-proxy
installation.suse-manager-proxy.xsl
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File installation.suse-manager-proxy.xsl of Package skelcd-control-suse-manager-proxy
<!-- Definition of the installation.SLES.xml -> installation.SLES4SAP.xml transformation. For now it simply copies all XML tags to the target file. --> <xsl:stylesheet version="1.0" xmlns:n="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.suse.com/1.0/yast2ns" exclude-result-prefixes="n" > <!-- Work around for the text domain textdomain="control" --> <xsl:output method="xml" indent="yes"/> <xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template> <!-- keep empty <![CDATA[]]>, see https://stackoverflow.com/a/1364900 --> <xsl:template match="n:optional_default_patterns"> <xsl:element name="optional_default_patterns"> <xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text> <xsl:value-of select="text()" disable-output-escaping="yes"/> <xsl:text disable-output-escaping="yes">]]></xsl:text> </xsl:element> </xsl:template> <xsl:template xml:space="preserve" match="n:system_role[n:id='minimal_role']"> <system_role> <id>suma_proxy_role</id> <!-- the rest is overlaid over the feature sections and values. --> <partitioning> <proposal> <lvm config:type="boolean">true</lvm> <encrypt config:type="boolean">false</encrypt> <windows_delete_mode>all</windows_delete_mode> <linux_delete_mode>all</linux_delete_mode> <other_delete_mode>all</other_delete_mode> <lvm_vg_strategy>use_available</lvm_vg_strategy> </proposal> <volumes config:type="list"> <!-- The root filesystem --> <volume> <mount_point>/</mount_point> <!-- Enforce Btrfs for root by not offering any other option --> <fs_type>btrfs</fs_type> <desired_size>60GiB</desired_size> <min_size>10GiB</min_size> <max_size>100GiB</max_size> <!-- Always use snapshots, no matter what --> <snapshots config:type="boolean">true</snapshots> <snapshots_configurable config:type="boolean">false</snapshots_configurable> <btrfs_default_subvolume>@</btrfs_default_subvolume> <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/x86_64-efi</path> <archs>x86_64</archs> </subvolume> <subvolume> <path>boot/grub2/s390x-emu</path> <archs>s390</archs> </subvolume> <subvolume> <path>boot/grub2/arm64-efi</path> <archs>aarch64</archs> </subvolume> </subvolumes> </volume> <!-- The swap volume --> <volume> <mount_point>swap</mount_point> <fs_type>swap</fs_type> <desired_size>2GiB</desired_size> <min_size>2GiB</min_size> <max_size>2GiB</max_size> </volume> <!-- separate /srv: 40 GiB - unlimited --> <volume> <mount_point>/srv</mount_point> <fs_type>xfs</fs_type> <proposed_configurable config:type="boolean">true</proposed_configurable> <proposed config:type="boolean">true</proposed> <desired_size config:type="disksize">100 GiB</desired_size> <min_size config:type="disksize">40 GiB</min_size> <max_size config:type="disksize">unlimited</max_size> <max_size_lvm config:type="disksize">200 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> <!-- separate /var/cache: at least 100 GB --> <volume> <mount_point>/var/cache</mount_point> <fs_type>xfs</fs_type> <proposed_configurable config:type="boolean">true</proposed_configurable> <proposed config:type="boolean">true</proposed> <desired_size config:type="disksize">200 GiB</desired_size> <min_size config:type="disksize">100 GiB</min_size> <max_size config:type="disksize">unlimited</max_size> <max_size_lvm config:type="disksize">200 GiB</max_size_lvm> <weight config:type="integer">50</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> </volumes> </partitioning> <software> <default_patterns>base suma_proxy</default_patterns> <!-- this is comment in the style sheet not commented into result --> <xsl:comment> the cdata trick produces an empty string in the data instead of omitting the key entirely </xsl:comment> <xsl:element name="optional_default_patterns"> <xsl:text disable-output-escaping="yes"><![CDATA[]]></xsl:text> </xsl:element> </software> </system_role> <xsl:copy> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template xml:space="preserve" match="n:minimal_role"> <suma_proxy_role> <!-- TRANSLATORS: a label for a system role --> <label>SUSE Manager Proxy</label> </suma_proxy_role> <suma_proxy_role_description> <label>• Manager Proxy pattern • Configure from Manager Server</label> </suma_proxy_role_description> <xsl:copy> <xsl:apply-templates/> </xsl:copy> </xsl:template> <!-- add a new "software/default_modules" section just after the "textdomain" --> <xsl:template xml:space="preserve" match="n:textdomain"> <xsl:copy> <xsl:apply-templates/> </xsl:copy> <software> <xsl:comment> the default preselected modules in offline installation </xsl:comment> <default_modules config:type="list"> <default_module>sle-module-basesystem</default_module> <default_module>sle-module-server-applications</default_module> </default_modules> </software> </xsl:template> </xsl:stylesheet>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor