|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- OBS-Profiles: @BUILD_FLAVOR@ --> |
| 3 | +<image schemaversion="7.5" name="kiwi-test-image-MicroOS"> |
| 4 | + <description type="system"> |
| 5 | + <author>Marcus Schäfer</author> |
| 6 | + < contact> [email protected]</ contact> |
| 7 | + <specification>MicroOS disk test build for IBM Secure Execution</specification> |
| 8 | + </description> |
| 9 | + <profiles> |
| 10 | + <profile name="SUSE-Infra" description="MicroOS IBM SEL image LinuxONE_III@SUSE"/> |
| 11 | + <profile name="IBM-Cloud-Secure-Execution" description="MicroOS IBM SEL image LinuxONE@IBM-Cloud-VPC-Region-eu-de(z16)/Region-eu-gb(z15)"/> |
| 12 | + <profile name="IBM-Cloud-Standard" description="MicroOS IBM Cloud image"/> |
| 13 | + </profiles> |
| 14 | + <preferences> |
| 15 | + <version>16.0.0</version> |
| 16 | + <packagemanager>zypper</packagemanager> |
| 17 | + <bootloader-theme>openSUSE</bootloader-theme> |
| 18 | + <rpm-excludedocs>true</rpm-excludedocs> |
| 19 | + <locale>en_US</locale> |
| 20 | + </preferences> |
| 21 | + <preferences profiles="IBM-Cloud-Standard"> |
| 22 | + <type |
| 23 | + image="oem" |
| 24 | + luks="random" |
| 25 | + luks_pbkdf="pbkdf2" |
| 26 | + luks_version="luks2" |
| 27 | + filesystem="btrfs" |
| 28 | + kernelcmdline="systemd.show_status=yes console=ttyS0,115200 console=tty0 net.ifnames=0 \$ignition_firstboot ignition.platform.id=qemu rd.debug" |
| 29 | + devicepersistency="by-uuid" |
| 30 | + btrfs_root_is_snapshot="true" |
| 31 | + btrfs_root_is_readonly_snapshot="false" |
| 32 | + btrfs_root_is_subvolume="true" |
| 33 | + btrfs_quota_groups="true" |
| 34 | + bootpartition="true" |
| 35 | + bootfilesystem="ext3" |
| 36 | + format="qcow2" |
| 37 | + > |
| 38 | + <luksformat> |
| 39 | + <option name="--cipher" value="aes-xts-plain64"/> |
| 40 | + <option name="--key-size" value="256"/> |
| 41 | + </luksformat> |
| 42 | + <oemconfig> |
| 43 | + <oem-unattended>true</oem-unattended> |
| 44 | + <oem-resize>true</oem-resize> |
| 45 | + </oemconfig> |
| 46 | + <bootloader name="zipl" timeout="10"/> |
| 47 | + <systemdisk> |
| 48 | + <volume name="home"/> |
| 49 | + <volume name="root"/> |
| 50 | + <volume name="opt"/> |
| 51 | + <volume name="srv"/> |
| 52 | + <volume name="boot/writable"/> |
| 53 | + <volume name="usr/local"/> |
| 54 | + <volume name="var" copy_on_write="false"/> |
| 55 | + </systemdisk> |
| 56 | + <size unit="G">2</size> |
| 57 | + </type> |
| 58 | + </preferences> |
| 59 | + <preferences profiles="IBM-Cloud-Secure-Execution"> |
| 60 | + <type |
| 61 | + image="oem" |
| 62 | + luks="random" |
| 63 | + luks_pbkdf="pbkdf2" |
| 64 | + luks_version="luks2" |
| 65 | + filesystem="btrfs" |
| 66 | + kernelcmdline="systemd.show_status=yes console=ttyS0,115200 console=tty0 net.ifnames=0 \$ignition_firstboot ignition.platform.id=qemu swiotlb=262144 rd.debug" |
| 67 | + devicepersistency="by-uuid" |
| 68 | + btrfs_root_is_snapshot="true" |
| 69 | + btrfs_root_is_readonly_snapshot="false" |
| 70 | + btrfs_root_is_subvolume="true" |
| 71 | + btrfs_quota_groups="true" |
| 72 | + bootpartition="true" |
| 73 | + bootfilesystem="ext3" |
| 74 | + format="qcow2" |
| 75 | + > |
| 76 | + <luksformat> |
| 77 | + <option name="--cipher" value="aes-xts-plain64"/> |
| 78 | + <option name="--key-size" value="256"/> |
| 79 | + </luksformat> |
| 80 | + <oemconfig> |
| 81 | + <oem-unattended>true</oem-unattended> |
| 82 | + <oem-resize>true</oem-resize> |
| 83 | + </oemconfig> |
| 84 | + <bootloader name="zipl" timeout="10"> |
| 85 | + <!-- LinuxONE@IBM-Cloud-VPC-Region-eu-de(z16) --> |
| 86 | + <securelinux hkd_sign_cert="/var/lib/se-certs/ibm-z-host-key-signing-gen2.crt" hkd_ca_cert="/var/lib/se-certs/DigiCertCA.crt"> |
| 87 | + <hkd_cert name="/var/lib/se-certs/HKD-3932-02967D8.crt"/> |
| 88 | + <hkd_cert name="/var/lib/se-certs/HKD-3932-02967F8.crt"/> |
| 89 | + <hkd_cert name="/var/lib/se-certs/HKD-3932-0296878.crt"/> |
| 90 | + <hkd_revocation_list name="/var/lib/se-certs/ibm-z-host-key-gen2.crl"/> |
| 91 | + <hkd_revocation_list name="/var/lib/se-certs/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl"/> |
| 92 | + <hkd_revocation_list name="/var/lib/se-certs/DigiCertTrustedRootG4.crl"/> |
| 93 | + </securelinux> |
| 94 | + <!-- LinuxONE@IBM-Cloud-VPC-Region-eu-gb(z15) --> |
| 95 | + <securelinux hkd_sign_cert="/var/lib/se-certs/ibm-z-host-key-signing.crt" hkd_ca_cert="/var/lib/se-certs/DigiCertCA.crt"> |
| 96 | + <hkd_cert name="/var/lib/se-certs/HKD-8562-024B858.crt"/> |
| 97 | + <hkd_cert name="/var/lib/se-certs/HKD-8562-024B868.crt"/> |
| 98 | + <hkd_cert name="/var/lib/se-certs/HKD-8562-024B878.crt"/> |
| 99 | + <hkd_revocation_list name="/var/lib/se-certs/ibm-z-host-key.crl"/> |
| 100 | + <hkd_revocation_list name="/var/lib/se-certs/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl"/> |
| 101 | + <hkd_revocation_list name="/var/lib/se-certs/DigiCertTrustedRootG4.crl"/> |
| 102 | + </securelinux> |
| 103 | + </bootloader> |
| 104 | + <systemdisk> |
| 105 | + <volume name="home"/> |
| 106 | + <volume name="root"/> |
| 107 | + <volume name="opt"/> |
| 108 | + <volume name="srv"/> |
| 109 | + <volume name="boot/writable"/> |
| 110 | + <volume name="usr/local"/> |
| 111 | + <volume name="var" copy_on_write="false"/> |
| 112 | + </systemdisk> |
| 113 | + <size unit="G">2</size> |
| 114 | + </type> |
| 115 | + </preferences> |
| 116 | + <preferences profiles="SUSE-Infra"> |
| 117 | + <type |
| 118 | + image="oem" |
| 119 | + luks="random" |
| 120 | + luks_pbkdf="pbkdf2" |
| 121 | + luks_version="luks2" |
| 122 | + filesystem="btrfs" |
| 123 | + kernelcmdline="systemd.show_status=yes console=ttyS0,115200 console=tty0 net.ifnames=0 \$ignition_firstboot ignition.platform.id=qemu swiotlb=262144 rd.debug" |
| 124 | + devicepersistency="by-uuid" |
| 125 | + btrfs_root_is_snapshot="true" |
| 126 | + btrfs_root_is_readonly_snapshot="false" |
| 127 | + btrfs_root_is_subvolume="true" |
| 128 | + btrfs_quota_groups="true" |
| 129 | + bootpartition="true" |
| 130 | + bootfilesystem="ext3" |
| 131 | + format="qcow2" |
| 132 | + > |
| 133 | + <luksformat> |
| 134 | + <option name="--cipher" value="aes-xts-plain64"/> |
| 135 | + <option name="--key-size" value="256"/> |
| 136 | + </luksformat> |
| 137 | + <oemconfig> |
| 138 | + <oem-unattended>true</oem-unattended> |
| 139 | + <oem-resize>true</oem-resize> |
| 140 | + </oemconfig> |
| 141 | + <bootloader name="zipl" timeout="10"> |
| 142 | + <securelinux hkd_sign_cert="/var/lib/se-certs/ibm-z-host-key-signing.crt" hkd_ca_cert="/var/lib/se-certs/DigiCertCA.crt"> |
| 143 | + <!-- LinuxONE_III@SUSE --> |
| 144 | + <hkd_cert name="/var/lib/se-certs/HKD-8561-02688E8.crt.20241112"/> |
| 145 | + <hkd_revocation_list name="/var/lib/se-certs/ibm-z-host-key.crl"/> |
| 146 | + <hkd_revocation_list name="/var/lib/se-certs/DigiCertTrustedG4CodeSigningRSA4096SHA3842021CA1.crl"/> |
| 147 | + <hkd_revocation_list name="/var/lib/se-certs/DigiCertTrustedRootG4.crl"/> |
| 148 | + </securelinux> |
| 149 | + </bootloader> |
| 150 | + <systemdisk> |
| 151 | + <volume name="home"/> |
| 152 | + <volume name="root"/> |
| 153 | + <volume name="opt"/> |
| 154 | + <volume name="srv"/> |
| 155 | + <volume name="boot/writable"/> |
| 156 | + <volume name="usr/local"/> |
| 157 | + <volume name="var" copy_on_write="false"/> |
| 158 | + </systemdisk> |
| 159 | + <size unit="G">2</size> |
| 160 | + </type> |
| 161 | + </preferences> |
| 162 | + <users> |
| 163 | + <user password="$1$wYJUgpM5$RXMMeASDc035eX.NbYWFl0" home="/root" name="root" groups="root"/> |
| 164 | + </users> |
| 165 | + <repository type="rpm-md"> |
| 166 | + <source path="obsrepositories:/"/> |
| 167 | + </repository> |
| 168 | + <packages type="image" profiles="IBM-Cloud-Secure-Execution"> |
| 169 | + <package name="ibm-se-certificates"/> |
| 170 | + <package name="ibm-se-revocation-lists"/> |
| 171 | + <package name="cloud-se-host-certificates"/> |
| 172 | + <package name="cloud-init"/> |
| 173 | + <package name="cloud-init-config-suse"/> |
| 174 | + <package name="systemd-network"/> |
| 175 | + </packages> |
| 176 | + <packages type="image" profiles="IBM-Cloud-Standard"> |
| 177 | + <package name="cloud-init"/> |
| 178 | + <package name="cloud-init-config-suse"/> |
| 179 | + <package name="systemd-network"/> |
| 180 | + </packages> |
| 181 | + <packages type="image" profiles="SUSE-Infra"> |
| 182 | + <package name="ibm-se-certificates"/> |
| 183 | + <package name="ibm-se-revocation-lists"/> |
| 184 | + <package name="suse-se-host-certificates"/> |
| 185 | + <package name="systemd-network"/> |
| 186 | + </packages> |
| 187 | + <packages type="image"> |
| 188 | + <package name="patterns-base-bootloader"/> |
| 189 | + <package name="kernel-default"/> |
| 190 | + <package name="ignition-dracut"/> |
| 191 | + <package name="combustion"/> |
| 192 | + <package name="btrfsmaintenance"/> |
| 193 | + <package name="btrfsprogs"/> |
| 194 | + <package name="microos-tools"/> |
| 195 | + <package name="sudo"/> |
| 196 | + <package name="s390-tools"/> |
| 197 | + <package name="dracut-kiwi-oem-repart"/> |
| 198 | + <package name="shadow"/> |
| 199 | + <package name="snapper"/> |
| 200 | + <package name="snapper-zypp-plugin"/> |
| 201 | + <package name="firewalld"/> |
| 202 | + <package name="microos-tools"/> |
| 203 | + <package name="health-checker-plugins-MicroOS"/> |
| 204 | + <package name="squashfs"/> |
| 205 | + <package name="openSUSE-repos-Tumbleweed"/> |
| 206 | + <package name="openssh-server"/> |
| 207 | + <package name="openssh"/> |
| 208 | + <package name="iproute2"/> |
| 209 | + <package name="less"/> |
| 210 | + <package name="curl"/> |
| 211 | + <package name="cryptsetup"/> |
| 212 | + <package name="procps"/> |
| 213 | + </packages> |
| 214 | + <packages type="bootstrap"> |
| 215 | + <package name="gawk"/> |
| 216 | + <package name="grep"/> |
| 217 | + <package name="gzip"/> |
| 218 | + <package name="udev"/> |
| 219 | + <package name="xz"/> |
| 220 | + <package name="shadow"/> |
| 221 | + <package name="filesystem"/> |
| 222 | + <package name="coreutils"/> |
| 223 | + <package name="openssl"/> |
| 224 | + <package name="glibc-locale-base"/> |
| 225 | + <package name="ca-certificates"/> |
| 226 | + <package name="ca-certificates-mozilla"/> |
| 227 | + <package name="MicroOS-release-dvd"/> |
| 228 | + <package name="systemd-presets-branding-MicroOS"/> |
| 229 | + <package name="diffutils"/> |
| 230 | + </packages> |
| 231 | +</image> |
0 commit comments