Created
September 1, 2019 15:37
-
-
Save mschlenker/82bfad63ab599296805b2414c22b0968 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tunctl -u root | |
ip link set tap0 master bridge0 | |
# Bridge 0 exists since boot up! | |
ip link set dev tap0 up | |
qemu-system-x86_64 -enable-kvm -smp cpus=2 -vga cirrus -usbdevice mouse -m 1536 -rtc base=localtime,clock=host -drive file=/tmp/sde1/desinfect.img,format=raw,if=virtio -device virtio-net-pci,netdev=network0,mac=00:16:a0:1b:e3:17 -netdev tap,id=network0,ifname=tap0,script=no,downscript=no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment