From 54d983ef3a92de86f6c5ef6f65eb13e68ded6189 Mon Sep 17 00:00:00 2001 From: Julian Wefers Date: Sun, 31 May 2026 15:22:37 +0200 Subject: [PATCH] sudo build needs host network (rootful podman) --- commands.sh | 2 ++ config.toml | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/commands.sh b/commands.sh index c1dd566..5c340db 100755 --- a/commands.sh +++ b/commands.sh @@ -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 \ diff --git a/config.toml b/config.toml index 9d03172..f5acff3 100644 --- a/config.toml +++ b/config.toml @@ -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.