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.