File openSUSE-Tumbleweed-UKI.kiwi of Package openSUSE-Tumbleweed-UKI

<?xml version="1.0" encoding="utf-8"?>
<!-- OBS-Profiles: @BUILD_FLAVOR@ -->
<image schemaversion="7.4" name="openSUSE-Tumbleweed-UKI" displayname="openSUSE Tumbleweed UKI">
    <description type="system">
        <author>Valentin Lefebvre</author>
        <contact>vlefebvre@suse.com</contact>
        <specification>openSUSE Tumbleweed UKI</specification>
    </description>

    <profiles>
        <profile name="kvm-and-xen" description="UKI Image for KVM and Xen" arch="x86_64"/>
        <profile name="kvm-and-xen-sdboot" description="UKI Image for KVM and Xen using sdboot" arch="x86_64"/>
    </profiles>

    <preferences>
        <version>1.0.0</version>
        <packagemanager>zypper</packagemanager>
        <bootloader-theme>openSUSE</bootloader-theme>
        <rpm-excludedocs>true</rpm-excludedocs>
        <locale>en_US</locale>
        <keytable>fr-azerty</keytable>
        <timezone>Europe/Paris</timezone>
    </preferences>
    <preferences profiles="kvm-and-xen" arch="x86_64">
        <type
            image="oem"
            filesystem="btrfs"
            format="qcow2"
            firmware="uefi"
            initrd_system="none"
            efipartsize="1000"
            kernelcmdline="rw quiet systemd.show_status=1 console=ttyS0,115200 console=tty0"
            bootpartition="false"
            bootkernel="custom"
            devicepersistency="by-uuid"
            btrfs_quota_groups="true"
            btrfs_root_is_snapshot="true"
            bundle_format="%N-VM.%A-%M.%m.%p-%I"
            editbootinstall="editbootinstall_mbr.sh"
        >
            <bootloader name="grub2"/>
            <systemdisk>
                <volume name="home"/>
                <volume name="root"/>
                <volume name="opt"/>
                <volume name="srv"/>
                <volume name="boot/grub2/i386-pc"/>
                <volume name="boot/grub2/x86_64-efi" mountpoint="boot/grub2/x86_64-efi"/>
                <volume name="usr/local"/>
                <volume name="var" copy_on_write="false"/>
            </systemdisk>
            <size unit="G">24</size>
        </type>
    </preferences>
    <preferences profiles="kvm-and-xen-sdboot" arch="x86_64">
        <type
            image="oem"
            filesystem="btrfs"
            format="qcow2"
            firmware="uefi"
            initrd_system="none"
            efipartsize="1000"
            kernelcmdline="rw quiet systemd.show_status=1 console=ttyS0,115200 console=tty0"
            bootpartition="false"
            bootkernel="custom"
            devicepersistency="by-uuid"
            btrfs_quota_groups="true"
            btrfs_root_is_snapshot="true"
            bundle_format="%N-VM.%A-%M.%m.%p-%I"
            editbootinstall="editbootinstall_mbr.sh"
        >
            <bootloader name="custom"/>
            <systemdisk>
                <volume name="home"/>
                <volume name="root"/>
                <volume name="opt"/>
                <volume name="srv"/>
                <volume name="boot/grub2/i386-pc"/>
                <volume name="boot/grub2/x86_64-efi" mountpoint="boot/grub2/x86_64-efi"/>
                <volume name="usr/local"/>
                <volume name="var" copy_on_write="false"/>
            </systemdisk>
            <size unit="G">24</size>
        </type>
    </preferences>

    <repository type="rpm-md" >
        <source path='obsrepositories:/'/>
    </repository>
    
    <packages type="image">
        <package name="openSUSE-release"/>  <!-- other "distribution-release" could be found -->
        <package name="patterns-base-base"/>
        <package name="patterns-base-apparmor"/> <!-- Installs tools and profiles -->
        <package name="audit"/> <!-- On SLE it's only recommended by the apparmor pattern -->
        <package name="aaa_base-extras"/> <!-- wouldn't be SUSE without that ;-) -->
        <package name="acl"/>
        <package name="chrony"/>
        <package name="curl"/> <!-- needed for openQA, maybe delete -->
        <!-- <package name="dracut"/> -->
        <package name="fipscheck"/>
        <package name="group(mail)"/> <!-- needed by useradd bsc#1061838-->
        <package name="glibc-locale"/>
        <!-- Previously pam_cracklib was part of pam, but the replacement is only recommended -->
        <package name="pam_pwquality"/>
        <package name="cracklib-dict-small"/> <!-- Avoid the big 10MiB one -->
        <package name="iputils"/>
        <package name="issue-generator"/> <!-- bsc#1084879 -->
        <package name="vim-small"/>
        <package name="haveged"/>
        <package name="less"/>
        <package name="tar"/>
        <package name="parted"/>
        <package name="timezone"/>
        <package name="iproute2"/>
        <package name="openssh"/>
        <package name="rsync"/>
        <package name="dosfstools"/> <!-- For fscking /boot/efi -->
        <package name="procps"/> <!-- For free/ps and other basic utilities -->
        <package name="lsof"/> <!-- For zypper ps (bsc#1167553) -->
        <package name="live-add-yast-repos"/>
        <!-- <package name="rsyslog"/> for SLE -->
        <package name="systemd-logger"/> <!-- for openSUSE -->
        <package name="zypper-needs-restarting"/> <!-- Some deployment script use this (bsc#1173548) -->
        <package name="combustion &gt;= 1.2"/> <!-- 1.2+ has improved firstboot detection -->
        <package name="NetworkManager"/>
        <!-- <package name="dracut-kiwi-oem-repart"/> -->
        <!--UKI packages -->
        <package name="uki-default"/>
        <!-- Only for btrfs -->
        <package name="btrfsprogs"/>
        <package name="btrfsmaintenance"/>
        <package name="snapper-zypp-plugin"/>   <!-- this is key snapper/zypp integration, as requested in the PRD -->
        <package name="snapper"/>
        <!-- Require 1.2.0.0 for proper NM support.
             Not sure whether this syntax is intentionally supported but it appears to work. -->
        <package name="jeos-firstboot &gt;= 1.2.0.0"/>
        <!-- Not useful with Cloud -->
        <package name="firewalld"/>
        <!-- Shim for secure boot everywhere except for RPi -->
        <package name="shim"/>
        <package name="efibootmgr"/>
        <package name="uefi_mbr"/>
        <package name="xen-tools-domU"/>
        <package name="xen-libs"/>
        <package name="xen-tools-domU"/>
        <package name="xen-libs"/>
        <package name="kernel-default"/>
    </packages>
    <packages type="image" profiles="kvm-and-xen">
        <package name="grub2"/>
        <package name="grub2-branding-openSUSE" bootinclude="true"/>
        <package name="grub2-x86_64-efi"/>
        <package name="grub2-snapper-plugin"/>  <!-- snapper - grub2 - integration, "small" -->
    </packages>
    <packages type="image" profiles="kvm-and-xen-sdboot">
        <package name="systemd-boot"/>
        <package name="sdbootutil-snapper"/>
        <package name="sdbootutil"/>
    </packages>

    <packages type="bootstrap">
        <package name="openSUSE-release-appliance-kvm"/>
    </packages>
</image>
openSUSE Build Service is sponsored by