Skip to content

Commit f8d1c73

Browse files
committed
fixup iso build task
1 parent b26e5b1 commit f8d1c73

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

iso.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,17 @@ contents = """
44
bootc switch --mutate-in-place --transport registry ghcr.io/aussielunix/mystation:latest
55
%end
66
"""
7+
8+
[customizations.installer.modules]
9+
enable = [
10+
"org.fedoraproject.Anaconda.Modules.Storage",
11+
"org.fedoraproject.Anaconda.Modules.Timezone",
12+
"org.fedoraproject.Anaconda.Modules.Users"
13+
]
14+
15+
disable = [
16+
"org.fedoraproject.Anaconda.Modules.Security",
17+
"org.fedoraproject.Anaconda.Modules.Services",
18+
"org.fedoraproject.Anaconda.Modules.Network",
19+
"org.fedoraproject.Anaconda.Modules.Subscription"
20+
]

justfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ build-iso:
3030
-it \
3131
--privileged \
3232
--pull=newer \
33+
--net=host \
3334
--security-opt label=type:unconfined_t \
3435
-v $(pwd)/.osbuild:/output \
36+
-v $(pwd)/iso.toml:/config.toml:ro \
3537
-v /var/lib/containers/storage:/var/lib/containers/storage \
36-
-v $(pwd)/iso.toml:/config.toml \
3738
quay.io/centos-bootc/bootc-image-builder:latest \
3839
--rootfs ext4 \
39-
--type anaconda-iso \
40+
--type iso \
4041
--target-arch amd64 \
4142
--local ghcr.io/aussielunix/mystation:latest
4243

0 commit comments

Comments
 (0)