<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="8.0" name="ubuntu24-oem">
     <description type="system">
        <author>Enterprise Build</author>
        <contact>admin@example.com</contact>
        <specification>Ubuntu 24.04 OEM image for GCP (dracut + LVM)</specification>
      </description>
      <preferences>
        <version>24.04.0</version>
        <packagemanager>apt</packagemanager>
        <type image="oem" filesystem="ext4" firmware="uefi" initrd_system="dracut" format="gce">
          <bootloader name="grub2"/>
          <size unit="G">10</size>
          <systemdisk name="rootvg">
            <volume name="@root" size="4G"/>
            <volume name="lv_var" size="1G" mountpoint="var"/>
            <volume name="lv_tmp" size="1G" mountpoint="tmp"/>
            <volume name="lv_home" size="1G" mountpoint="home"/>
            <volume name="lv_opt" size="1G" mountpoint="opt"/>
          </systemdisk>
        </type>
      </preferences>
      <repository type="apt-deb" distribution="noble" components="main restricted universe multiverse" repository_gpgcheck="false">
        <source path="http://archive.ubuntu.com/ubuntu"/>
      </repository>
      <repository type="apt-deb" distribution="noble-updates" components="main restricted universe multiverse" repository_gpgcheck="false">
        <source path="http://archive.ubuntu.com/ubuntu"/>
      </repository>
      <repository type="apt-deb" distribution="noble-security" components="main restricted universe multiverse" repository_gpgcheck="false">
        <source path="http://security.ubuntu.com/ubuntu"/>
      </repository>
      <packages type="bootstrap">
        <package name="ca-certificates"/>
      </packages>
      <packages type="image">
        <package name="ubuntu-keyring"/>
        <package name="gnupg"/>
        <package name="systemd-sysv"/>
        <package name="locales"/>
        <package name="ubuntu-minimal"/>
        <package name="linux-image-generic"/>
        <package name="grub-efi-amd64" arch="x86_64"/>
        <package name="grub-efi-arm64" arch="aarch64"/>
        <package name="grub-common"/>
        <package name="grub2-common"/>
        <package name="grub-pc-bin" arch="x86_64"/>
        <package name="lvm2"/>
        <package name="dracut"/>
        <package name="kiwi-dracut-oem-repart"/>
        <package name="cloud-init"/>
        <package name="netplan.io"/>
      </packages>
</image>
