Add Minimal disk image

This is an example that can be used for creating small disk images
to verify that the basics work.
This commit is contained in:
Neal Gompa 2025-01-22 12:07:18 -05:00 committed by ngompa
parent 1f35331b84
commit a74ebe5098
3 changed files with 27 additions and 0 deletions

View File

@ -34,6 +34,7 @@
<include from="this://./components/desktops/cosmic.xml"/>
<include from="this://./components/liveinstall.xml"/>
<include from="this://./components/users.xml"/>
<include from="this://./teams/base.xml"/>
<include from="this://./teams/cloud/cloud.xml"/>
<include from="this://./teams/cloud/container.xml"/>
<include from="this://./teams/cloud/vagrant.xml"/>

17
teams/base.xml Normal file
View File

@ -0,0 +1,17 @@
<image>
<profiles>
<profile name="Minimal-Disk" description="Minimal Install Disk">
<requires profile="BootDiskCore"/>
</profile>
</profiles>
<packages type="bootstrap" patternType="plusRecommended" profiles="Minimal-Disk">
<package name="fedora-release"/>
</packages>
<packages type="image" patternType="plusRecommended" profiles="Minimal-Disk">
<namedCollection name="core"/>
<namedCollection name="standard"/>
<namedCollection name="networkmanager-submodules"/>
<package name="initial-setup"/>
<ignore name="initial-setup-gui"/>
</packages>
</image>

View File

@ -0,0 +1,9 @@
summary: Build Minimal disk image
discover:
how: fmf
environment:
image_type: oem
image_profile: Minimal-Disk
kiwi_file: Fedora.kiwi
execute:
how: tmt