Skip to content

Commit

Permalink
Add an opinionated startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
extinctpotato committed Nov 25, 2023
1 parent 3e25079 commit befdf61
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dropbear-qemu-x86_64.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

kernel="build/unikraft-dropbear_qemu-x86_64"

qemu-system-x86_64 \
-kernel "$kernel" \
-m 128M \
-netdev tap,id=en0,ifname=tap0,script=no,downscript=no \
-device virtio-net-pci,netdev=en0 \
-append "netdev.ipv4_addr=172.44.0.2 netdev.ipv4_gw_addr=172.44.0.1 netdev.ipv4_subnet_mask=255.255.255.0 -- cool" \
-cpu max \
-no-shutdown

0 comments on commit befdf61

Please sign in to comment.