sudo build needs host network (rootful podman)
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user