Skip to content

Commit 08c565a

Browse files
committed
fix: Add toml conf to veneos and veneos-server
Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
1 parent 1e5402c commit 08c565a

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ build-raw $target_image=("localhost/" + image_name) $tag=default_tag: && (_build
321321

322322
# Build an ISO virtual machine image
323323
[group('Build Virtal Machine Image')]
324-
build-iso $target_image=("localhost/" + image_name) $tag=default_tag: && (_build-bib target_image tag "iso" "disk_config/iso-gnome.toml")
324+
build-iso $target_image=("localhost/" + image_name) $tag=default_tag: && (_build-bib target_image tag "iso" "disk_config/iso-gnome-" + image_name + ".toml")
325325

326326
# Rebuild a QCOW2 virtual machine image
327327
[group('Build Virtal Machine Image')]
@@ -333,7 +333,7 @@ rebuild-raw $target_image=("localhost/" + image_name) $tag=default_tag: && (_reb
333333

334334
# Rebuild an ISO virtual machine image
335335
[group('Build Virtal Machine Image')]
336-
rebuild-iso $target_image=("localhost/" + image_name) $tag=default_tag: && (_rebuild-bib target_image tag "iso" "disk_config/iso-gnome.toml")
336+
rebuild-iso $target_image=("localhost/" + image_name) $tag=default_tag: && (_rebuild-bib target_image tag "iso" "disk_config/iso-gnome-" + image_name + ".toml")
337337

338338
# Run a virtual machine with the specified image type and configuration
339339
_run-vm $target_image $tag $type $config:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[customizations.installer.kickstart]
2+
contents = """
3+
%post
4+
bootc switch --mutate-in-place --transport registry ghcr.io/venefilyn/veneos-server:stable
5+
%end
6+
"""
7+
8+
[customizations.installer.modules]
9+
enable = [
10+
"org.fedoraproject.Anaconda.Modules.Storage",
11+
"org.fedoraproject.Anaconda.Modules.Runtime"
12+
]
13+
disable = [
14+
"org.fedoraproject.Anaconda.Modules.Network",
15+
"org.fedoraproject.Anaconda.Modules.Security",
16+
"org.fedoraproject.Anaconda.Modules.Services",
17+
"org.fedoraproject.Anaconda.Modules.Users",
18+
"org.fedoraproject.Anaconda.Modules.Subscription",
19+
"org.fedoraproject.Anaconda.Modules.Timezone"
20+
]

0 commit comments

Comments
 (0)