Skip to content

Commit

Permalink
Update test-image-MicroOS
Browse files Browse the repository at this point in the history
Incorporate latest changes from upstream MicroOS and
also add an encrypted profile build for testing
  • Loading branch information
schaefi committed Dec 8, 2023
1 parent 39fde53 commit ef2720b
Showing 1 changed file with 60 additions and 6 deletions.
66 changes: 60 additions & 6 deletions build-tests/x86/tumbleweed/test-image-MicroOS/appliance.kiwi
Original file line number Diff line number Diff line change
@@ -1,17 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>

<!-- OBS-Profiles: @BUILD_FLAVOR@ -->
<image schemaversion="7.5" name="kiwi-test-image-MicroOS">
<description type="system">
<author>Marcus Schäfer</author>
<contact>[email protected]</contact>
<specification>MicroOS disk test build</specification>
</description>
<profiles>
<profile name="Standard" description="MicroOS"/>
<profile name="Encrypted" description="MicroOS Encrypted"/>
</profiles>
<preferences>
<version>16.0.0</version>
<packagemanager>zypper</packagemanager>
<bootloader-theme>openSUSE</bootloader-theme>
<rpm-excludedocs>true</rpm-excludedocs>
<locale>en_US</locale>
</preferences>
<preferences profiles="Encrypted">
<type
image="oem"
luks="linux"
filesystem="btrfs"
firmware="uefi"
installiso="true"
installboot="install"
kernelcmdline="quiet systemd.show_status=yes console=ttyS0,115200 console=tty0 net.ifnames=0 \$ignition_firstboot ignition.platform.id=qemu"
bootpartition="false"
devicepersistency="by-uuid"
btrfs_root_is_snapshot="true"
btrfs_root_is_readonly_snapshot="true"
btrfs_quota_groups="true"
format="qcow2"
>
<oemconfig>
<oem-unattended>true</oem-unattended>
<oem-resize>false</oem-resize>
</oemconfig>
<bootloader name="grub2" console="serial" timeout="10"/>
<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="boot/writable"/>
<volume name="usr/local"/>
<volume name="var" copy_on_write="false"/>
</systemdisk>
<size unit="G">20</size>
<installmedia>
<initrd action="omit">
<dracut module="combustion"/>
<dracut module="ignition"/>
</initrd>
</installmedia>
</type>
</preferences>
<preferences profiles="Standard">
<type
image="oem"
filesystem="btrfs"
Expand All @@ -25,11 +72,6 @@
btrfs_root_is_readonly_snapshot="true"
btrfs_quota_groups="true"
format="qcow2"
spare_part="5G"
spare_part_mountpoint="/var"
spare_part_fs="btrfs"
spare_part_is_last="true"
spare_part_fs_attributes="no-copy-on-write"
>
<oemconfig>
<oem-unattended>true</oem-unattended>
Expand All @@ -45,6 +87,7 @@
<volume name="boot/grub2/x86_64-efi" mountpoint="boot/grub2/x86_64-efi"/>
<volume name="boot/writable"/>
<volume name="usr/local"/>
<volume name="var" copy_on_write="false"/>
</systemdisk>
<size unit="G">20</size>
<installmedia>
Expand Down Expand Up @@ -72,6 +115,13 @@
<package name="qemu-guest-agent"/>
<package name="dracut-kiwi-oem-repart"/>
<package name="dracut-kiwi-oem-dump"/>
<package name="shadow"/>
<package name="snapper"/>
<package name="microos-tools"/>
<package name="health-checker-plugins-MicroOS"/>
<package name="squashfs"/>
<package name="systemd-network"/>
<package name="NetworkManager"/>
</packages>
<packages type="bootstrap">
<package name="coreutils"/>
Expand All @@ -82,5 +132,9 @@
<package name="glibc-locale-base"/>
<package name="ca-certificates-mozilla"/>
<package name="MicroOS-release-dvd"/>
<package name="diffutils"/>
</packages>
<packages type="image" profiles="Encrypted">
<package name="cryptsetup"/>
</packages>
</image>

0 comments on commit ef2720b

Please sign in to comment.