try to load af_packet module before up

This commit is contained in:
iceBear67
2026-06-22 13:47:05 +08:00
parent 31c2a23dbf
commit 54deda0210
2 changed files with 2 additions and 1 deletions

View File

@@ -8,5 +8,5 @@ set -euo pipefail
--cmdline "modules=ext4 root=/dev/vda rootfstype=ext4 rw console=hvc0" \
--cpus boot=${CPU_COUNT:-4} \
--memory size=${MEMORY:-4G},shared=on \
--net "tap=,ip=,mac=,mask="
--net "tap="
$@