sudo build needs host network (rootful podman)

This commit is contained in:
Julian Wefers
2026-05-31 15:22:37 +02:00
parent cf0700348b
commit 54d983ef3a
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -10,6 +10,7 @@ build() {
--pull \
--layers \
--format oci \
--network=host \
.
if [ $? -eq 0 ]; then
@@ -31,6 +32,7 @@ mkImage() {
-it \
--privileged \
--pull=newer \
--network=host \
--security-opt label=type:unconfined_t \
-v ./config.toml:/config.toml:ro \
-v ./output:/output \
-4
View File
@@ -19,10 +19,6 @@ lang en_US
keyboard de
timezone Europe/Berlin
network --device=enp1s0 --bootproto=static --ip=192.168.178.3 --netmask=255.255.255.0 --gateway=192.168.178.1 --nameserver=1192.168.178.8
# Basic partitioning
clearpart --all --initlabel --disklabel=gpt --drives=sda
reqpart --add-boot
part / --grow --fstype ext4
# Here's where we reference the container image to install - notice the kickstart
# has no `%packages` section! What's being installed here is a container image.