mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-10 13:56:48 +00:00
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…
x
Reference in New Issue
Block a user