<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="6.2" name="p2v-__KIWI_BOOT__" displayname="p2v___PACKAGE_VERSION_____KIWI_BOOT__">
  <description type="system">
    <author>Marcus Schäfer</author>
    <contact>ms@suse.com</contact>
    <specification>P2V __PACKAGE_VERSION__</specification>
  </description>
  <profiles>
    <profile name="vmxFlavour" description="VMX with default kernel" import="true"/>
    <profile name="netboot" description="compressed rootfs image for pxe"/>
  </profiles>
  <preferences>
      <type image="iso" primary="true" boot="isoboot/suse-__KIWI_BOOT__" flags="overlay" hybrid="true" firmware="uefi" kernelcmdline="splash"/>
    <version>__PACKAGE_VERSION__</version>
    <packagemanager>zypper</packagemanager>
    <locale>en_US</locale>
    <keytable>us.map.gz</keytable>
    <hwclock>utc</hwclock>
    <bootloader-theme>__BRANDING__</bootloader-theme>
    <bootsplash-theme>__BRANDING__</bootsplash-theme>
    <rpm-excludedocs>true</rpm-excludedocs>
    <rpm-check-signatures>false</rpm-check-signatures>
  </preferences>
  <preferences profiles="netboot">
    <type image="pxe" filesystem="overlayfs" boot="netboot/suse-__KIWI_BOOT__">
      <pxedeploy server="192.168.100.2" blocksize="4096">
        <partitions device="/dev/sda">
          <partition type="swap" number="1" size="5"/>
          <partition type="L" number="2" size="image" mountpoint="/" target="true"/>
          <partition type="L" number="3" target="false"/>
        </partitions>
        <union ro="/dev/sda2" rw="/dev/sda3" type="overlayfs"/>
      </pxedeploy>
    </type>
  </preferences>
  <preferences profiles="vmxFlavour">
      <type image="vmx" filesystem="ext3" boot="vmxboot/suse-__KIWI_BOOT__" format="vmdk" bootloader="grub2" firmware="uefi" kernelcmdline="splash" bootpartition="false">
      <systemdisk name="systemVG"/>
      <machine memory="512" guestOS="suse" HWversion="4">
        <vmdisk id="0" controller="ide"/>
        <vmnic driver="e1000" interface="0" mode="bridged"/>
      </machine>
    </type>
  </preferences>
  <users group="root">
    <user password="p2v" pwdformat="plain" home="/root" name="root"/>
  </users>
  <!--__REPOS__-->
  <packages type="image" patternType="onlyRequired">
    <package name="__BASE_PATTERN__"/>
    <package name="plymouth-branding-__BRANDING__" bootinclude="true"/>
    <package name="grub2-branding-__BRANDING__" bootinclude="true"/>
    <package name="iputils"/>
    <package name="grub2"/>
    <package name="grub2-x86_64-efi"/>
    <package name="syslinux"/>
    <package name="lvm2"/>
    <package name="plymouth"/>
    <package name="fontconfig"/>
    <package name="fonts-config"/>
    <package name="tar"/>
    <package name="systemd"/>
    <package name="systemd-sysvinit"/>
    <package name="dracut"/>
    <package name="wicked"/>
    <package name="iproute2"/>
    <package name="sudo"/>
    <package name="dhcp-client"/>
    <package name="which"/>
    <!-- virt-p2v dependencies from dependencies.suse -->
<!--__DEPENDENCIES__-->
  </packages>
  <packages type="iso">
      <package name="gfxboot-branding-__BRANDING__" bootinclude="true" bootdelete="true"/>
  </packages>
  <packages type="image" profiles="vmxFlavour">
    <package name="kernel-default" replaces="kernel-xen"/>
    <package name="kernel-default" replaces="xen-kmp-default"/>
    <package name="kernel-default" replaces="xen-libs"/>
    <package name="kernel-default" replaces="xen-tools"/>
    <package name="kernel-default" replaces="xen"/>
    <package name="gfxboot-branding-__BRANDING__" bootinclude="true" bootdelete="true"/>
  </packages>
  <packages type="bootstrap">
    <package name="udev"/>
    <package name="filesystem"/>
    <package name="glibc-locale"/>
    <package name="cracklib-dict-full"/>
    <package name="ca-certificates"/>
    <package name="__RELEASE_PKG__"/>
  </packages>
</image>
