Skip to content

Instantly share code, notes, and snippets.

@oskar456
Last active December 25, 2015 18:49
Show Gist options
  • Save oskar456/7023695 to your computer and use it in GitHub Desktop.
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
qemu-img convert -O qcow2 -o preallocation=off -p RIPEDB-disk1.vmdk RIPEDB-disk1.qcow2
#!/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