Last active
December 25, 2015 18:49
-
-
Save oskar456/7023695 to your computer and use it in GitHub Desktop.
Run Sample RIPE DB virtual Appliance under QEMU on Gentoo Linux. Before first start, coverting VMDK to QCOW2 disk image is needed. To watch VM console, open VNC viewer to localhost:42
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
qemu-img convert -O qcow2 -o preallocation=off -p RIPEDB-disk1.vmdk RIPEDB-disk1.qcow2 |
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
#!/bin/sh | |
exec qemu-system-x86_64 \ | |
-drive file=RIPEDB-disk1.qcow2,media=disk,if=virtio \ | |
-vnc 127.0.0.1:42 \ | |
-m 3584 \ | |
-smp 2 \ | |
-vga vmware \ | |
-net nic,model=virtio,macaddr=08:00:27:43:A1:85 \ | |
-net user,hostfwd=tcp::1043-:1043,hostfwd=tcp::1080-:1080 \ | |
-daemonize \ | |
-machine accel=kvm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment