<?xml version="1.0" encoding="UTF-8"?>
<productdefinition xmlns:xi="http://www.w3.org/2001/XInclude">
  <products>
    <product>
      <vendor>openSUSE</vendor>
      <name>openSUSE-Tumbleweed-Kubic</name>
      <releasepkgname>openSUSE-Tumbleweed-Kubic-release</releasepkgname>
      <endoflife/>
      <version>20190110</version>
      <!-- release is no longer optional -->
      <release>0</release>
      <productline>openSUSE-Tumbleweed-Kubic</productline>

      <summary>openSUSE Tumbleweed Kubic</summary>
      <shortsummary>openSUSE Tumbleweed Kubic</shortsummary>
      <description>openSUSE Tumbleweed Kubic combines the benefits of a rolling
      OS with a container orchestration platform.

      It is a modern Linux Operating System, designed for containers and
      optimized for large, clustered deployments.  It inherits the benefits of
      openSUSE Tumbleweed while redefining the operating system into a small,
      efficient and reliable distribution.
      </description>


      <linguas>
        <language>en_US</language>
      </linguas>

      <urls>
        <url name="releasenotes">http://doc.opensuse.org/release-notes/x86_64/openSUSE/Tumbleweed/release-notes-openSUSE.rpm</url>
      </urls>

      <buildconfig>
        <!-- This section is needed to generate the installation media -->
	<producttheme>Kubic</producttheme>
	<create_flavors>true</create_flavors>
      </buildconfig>

      <installconfig>
        <!-- All flags needed during installation -->
        <defaultlang>en_US</defaultlang>
          <datadir>suse</datadir>
          <descriptiondir>suse/setup/descr</descriptiondir>
          <distribution>openSUSE</distribution>
        </installconfig>

        <!-- All Flags needed in the running system -->
        <runtimeconfig />
      </product>
    </products>

<!-- Default conditionals, repositories and archsets get imported -->
    <xi:include href="conditionals.inc" />
    <xi:include href="archsets.inc" />
    <repositories>
        <repository path="obs://openSUSE:Factory/standard"/>
    </repositories>

    <mediasets>
        <media type="dvd5"
               flavor="dvd"
               name="openSUSE-Tumbleweed-Kubic-DVD"
               sourcemedia="0"
               firmware="uefi"
               mediastyle="suse-tumbleweed"
	       run_hybridiso="true"
               run_media_check="true"
	       use_undecided="false"
               create_pattern="false"
               use_required="true"
               use_recommended="false"
               use_suggested="false" >
               <!--   type   		      : defines the default size of a media
                      flavor 		      : flavor name - this is needed for registration
                      product		      : references the product name
                      name   		      : name of the media
                      sourcemedia       : sources on this media allowed?
                      create_pattern    : create pattern out of the given groups
                      use_required      : add required packages from the groups
                      use_recommended   : add recommended packages from the groups
                      use_suggested     : add suggested packages from the groups
                      size              : define a new size for the media - default is defined via 'type' attribute
                -->
               <archsets>
                   <archset ref="x86_64" />
               </archsets>
               <metadata>
                  <package name="skelcd-installer-Kubic"/>
                  <package name="skelcd-control-Kubic"/>
		  <package name="skelcd-openSUSE"/>
	  </metadata>
	       <use group="openSUSE-Kubic"		create_pattern="false" use_recommended="false" />
	       <use group="openSUSE-Kubic-DVD"  	create_pattern="false" use_recommended="false" />
	       <use group="openSUSE-Kubic-3"		create_pattern="false" use_recommended="false" />
	       <use group="openSUSE-Kubic-4"		create_pattern="false" use_recommended="false" />
        </media>
    </mediasets>

    <group name="openSUSE-Kubic-direct">
      <packagelist>
	      <package name="caasp-container-manifests"/>
	      <package name="kubic-caasp-dex-image"/>
	      <package name="kubic-dnsmasq-nanny-image"/>
	      <package name="kubic-flannel-image"/>
	      <package name="kubic-haproxy-image"/>
	      <package name="kubic-kubedns-image"/>
	      <package name="kubic-mariadb-image"/>
	      <package name="kubic-openldap-image"/>
	      <package name="kubic-pv-recycler-node-image"/>
	      <package name="kubic-salt-api-image"/>
	      <package name="kubic-salt-master-image"/>
	      <package name="kubic-salt-minion-image"/>
	      <package name="kubic-sidecar-image"/>
	      <package name="kubic-tiller-image"/>
	      <package name="kubic-velum-image"/>
      </packagelist>
    </group>

    <xi:include href="openSUSE-Kubic.group" />
    <xi:include href="openSUSE-Kubic-DVD.group" />
    <xi:include href="openSUSE-Kubic-3.group" />
    <xi:include href="openSUSE-Kubic-4.group" />

</productdefinition>