File SLES-15-SP2.kiwi of Package SLES-15-SP2-Vagrant

<?xml version="1.0" encoding="utf-8"?>

<!-- The line below is required in order to use the multibuild OBS features -->
<!-- OBS-Profiles: @BUILD_FLAVOR@ -->
<!-- OBS-ExclusiveArch: aarch64 x86_64 -->
<!-- OBS-Milestone: %current_milestone -->

<image schemaversion="7.1" name="SLES15-SP2-Vagrant">
    <description type="system">
        <author>Dan Cermak</author>
        <contact>dcermak@suse.com</contact>
        <specification>
            SUSE Linux Enterprise Server 15 SP2 - BYOL (bring your own license)
        </specification>
    </description>
    <profiles>
        <profile name="libvirt" description="Vagrant Box for Libvirt" arch="x86_64"/>
        <profile name="libvirt_aarch64" description="Vagrant Box for Libvirt on aarch64" arch="aarch64"/>
        <profile name="virtualbox" description="Vagrant Box for VirtualBox" arch="x86_64"/>
    </profiles>
    <preferences>
        <version>15.2</version>
        <packagemanager>zypper</packagemanager>
        <locale>en_US</locale>
        <keytable>us</keytable>
        <timezone>Europe/Berlin</timezone>
        <rpm-excludedocs>true</rpm-excludedocs>
        <rpm-check-signatures>false</rpm-check-signatures>
        <bootsplash-theme>SLE</bootsplash-theme>
        <bootloader-theme>SLE</bootloader-theme>
    </preferences>
    <preferences profiles="libvirt">
        <type image="vmx" filesystem="ext4" format="vagrant" boottimeout="0" bootloader="grub2" firmware="efi">
            <vagrantconfig provider="libvirt" virtualsize="42"/>
            <size unit="G">42</size>
        </type>
    </preferences>
    <preferences profiles="libvirt_aarch64">
        <type image="vmx" filesystem="ext4" format="vagrant" boottimeout="0" bootloader="grub2" firmware="efi">
            <vagrantconfig provider="libvirt" virtualsize="42" embedded_vagrantfile="aarch64_vagrantfile"/>
            <size unit="G">42</size>
        </type>
    </preferences>
    <preferences profiles="virtualbox">
        <type image="vmx" filesystem="ext4" format="vagrant" boottimeout="0" bootloader="grub2">
            <vagrantconfig provider="virtualbox" virtualbox_guest_additions_present="false" virtualsize="42"/>
            <size unit="G">42</size>
        </type>
    </preferences>

    <users>
        <user password="vagrant" home="/root" name="root" groups="root" pwdformat="plain" />
        <user password="vagrant" home="/home/vagrant" name="vagrant" groups="vagrant" pwdformat="plain" />
    </users>

    <repository type="rpm-md">
        <source path="obsrepositories:/"/>
    </repository>

    <packages type="image">
        <package name="patterns-sles-base"/>
        <package name="patterns-sles-minimal"/>
        <package name="checkmedia"/>
        <package name="ca-certificates"/>
        <package name="ca-certificates-mozilla"/>
        <package name="curl"/>
        <package name="ifplugd"/>
        <package name="iputils"/>
        <package name="vim"/>
        <package name="grub2"/>
        <package name="grub2-x86_64-efi" arch="x86_64"/>
        <package name="grub2-arm64-efi" arch="aarch64"/>
        <package name="lvm2"/>
        <package name="fontconfig"/>
        <package name="fonts-config"/>
        <package name="tar"/>
        <package name="parted"/>
        <package name="openssh"/>
        <package name="iproute2"/>
        <package name="less"/>
        <package name="bash-completion"/>
        <package name="which"/>
        <package name="shim" arch="x86_64"/>
        <package name="sudo"/>
        <package name="SUSEConnect"/>
        <package name="systemd"/>
        <package name="suse-build-key"/>
        <package name="kernel-default"/>
        <package name="timezone"/>
        <package name="rsync"/>

        <!-- FIXME: change this to python3 once Ansible switches to it -->
        <package name="python"/>
        <package name="python-xml"/>

        <!-- Explicitly force gettext-runtime to be installed, as OBS adds the -->
        <!-- -mini version by default, which breaks the update of the Virtualbox -->
        <!-- guest additions (conflicts with the base-devel-pattern) -->
        <package name="gettext-runtime"/>
        <package name="krb5"/>

        <!-- creates /etc/os-release & /etc/products.d/ -->
        <!-- those need to be present for SUSEConnect to recognize the product -->
        <package name="sles-release"/>
        <package name="sle-module-basesystem-release"/>

        <!-- for dracut -->
        <package name="keyutils"/>
        <package name="wicked"/>
        <package name="dmraid"/>

        <!-- to get enough entropy, otherwise network interfaces won't get up -->
        <package name="haveged"/>
    </packages>

    <packages type="bootstrap">
        <package name="udev"/>
        <package name="filesystem"/>
        <package name="glibc-locale"/>
        <package name="cracklib-dict-full"/>
        <package name="ca-certificates"/>
    </packages>
</image>
openSUSE Build Service is sponsored by