Index: image_to_vm.sh |
diff --git a/image_to_vm.sh b/image_to_vm.sh |
index 95715601c6e7f6551dbd92364c1c96870a0a6205..3807269856847ed93c0cf3085711a73c9762e84a 100755 |
--- a/image_to_vm.sh |
+++ b/image_to_vm.sh |
@@ -288,3 +288,10 @@ if [[ "${FLAGS_make_vmx}" = "${FLAGS_TRUE}" ]]; then |
echo "${VMX_CONFIG}" |
fi |
+ |
+if [ "${FLAGS_format}" == "qemu" ]; then |
+ echo "If you have qemu-kvm installed, you can start the image by:" |
+ echo "sudo kvm -m ${FLAGS_mem} -vga std -pidfile /tmp/kvm.pid -net nic " \ |
+ "-net user,hostfwd=tcp::922-:22 \\" |
+ echo " -hda ${FLAGS_to}/${DEFAULT_QEMU_IMAGE}" |
+fi |