aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-01-22 12:07:18 -0500
committerGravatar ngompa <ngompa13@gmail.com> 2025-01-22 19:58:08 +0000
commita74ebe5098ac7e475e11f7615776c9a463330b70 (patch)
tree5316a3de37c1575c46e46defa8e85c4d3747a438
parent1f35331b84bd7e5d3d71e98479a735bb325a2979 (diff)
downloadkiwi-descriptions-a74ebe5098ac7e475e11f7615776c9a463330b70.tar.gz
kiwi-descriptions-a74ebe5098ac7e475e11f7615776c9a463330b70.zip
Add Minimal disk image
This is an example that can be used for creating small disk images to verify that the basics work.
-rw-r--r--Fedora.kiwi1
-rw-r--r--teams/base.xml17
-rw-r--r--tmt/plans/base/minimal-disk.fmf9
3 files changed, 27 insertions, 0 deletions
diff --git a/Fedora.kiwi b/Fedora.kiwi
index 37c250f..cff2397 100644
--- a/Fedora.kiwi
+++ b/Fedora.kiwi
@@ -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"/>
diff --git a/teams/base.xml b/teams/base.xml
new file mode 100644
index 0000000..cf7da0d
--- /dev/null
+++ b/teams/base.xml
@@ -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>
diff --git a/tmt/plans/base/minimal-disk.fmf b/tmt/plans/base/minimal-disk.fmf
new file mode 100644
index 0000000..4de8bdb
--- /dev/null
+++ b/tmt/plans/base/minimal-disk.fmf
@@ -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