Enable loopback network device in Linux
This commit is contained in:
parent
83d42d0783
commit
eff41b6e97
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue