Enable loopback network device in Linux

This commit is contained in:
Yuke Peng 2024-08-26 18:18:06 +08:00 committed by Tate, Hongliang Tian
parent 83d42d0783
commit eff41b6e97

View File

@ -25,6 +25,7 @@ generate_entrypoint_script() {
local init_script=$(cat <<EOF
#!/bin/sh
mount -t devtmpfs devtmpfs /dev
ip link set lo up
modprobe virtio_blk
mkfs.ext2 -F /dev/vda
mount -t ext2 /dev/vda /ext2