From ffbe6a1a669559cd9e3174f2274758cad926947e Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 28 Feb 2013 10:47:06 -0800 Subject: [PATCH] fix(image_to_vm): add correct ports for kvm instructions --- image_to_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_to_vm.sh b/image_to_vm.sh index 6ae6e0e047..44795b6b81 100755 --- a/image_to_vm.sh +++ b/image_to_vm.sh @@ -242,6 +242,6 @@ 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 cirrus -pidfile /tmp/kvm.pid" \ - "-net nic,model=virtio -net user,hostfwd=tcp::9222-:22 \\" + "-net nic,model=virtio -net user,hostfwd=tcp::8080-:8080,hostfwd=::8000-:8000 \\" echo "-hda ${FLAGS_to}/${DEFAULT_QEMU_IMAGE}" fi