From 7d04c7aacb3105f4cc0a852e3d05e1c38754e5dc Mon Sep 17 00:00:00 2001 From: Chris Masone Date: Tue, 9 Nov 2010 08:24:13 -0800 Subject: [PATCH] [crosutils] bump default size of VM disk to allow for bigger stateful partition BUG=8544 TEST=create an VM image with image_to_vm.sh; the stateful partition should be 2GB in size. Change-Id: I6c0ee9e2cb513e42c25e4f0d1616835a41f378d7 Review URL: http://codereview.chromium.org/4737001 --- image_to_vm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image_to_vm.sh b/image_to_vm.sh index fdf23a413c..50e00e5612 100755 --- a/image_to_vm.sh +++ b/image_to_vm.sh @@ -37,7 +37,7 @@ DEFINE_integer rootfs_partition_size 1024 \ "rootfs parition size in MBs." DEFINE_string state_image "" \ "Stateful partition image (defaults to creating new statful partition)" -DEFINE_integer statefulfs_size -1 \ +DEFINE_integer statefulfs_size 2048 \ "Stateful partition size in MBs." DEFINE_boolean test_image "${FLAGS_FALSE}" \ "Copies normal image to chromiumos_test_image.bin, modifies it for test." @@ -285,6 +285,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 std -pidfile /tmp/kvm.pid -net nic,model=e1000 " \ - "-net user,hostfwd=tcp::922-:22 \\" + "-net user,hostfwd=tcp::9222-:22 \\" echo " -hda ${FLAGS_to}/${DEFAULT_QEMU_IMAGE}" fi