From 178783f1c8c605ae1e1506f37a94bd00da56ab8b Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 30 Sep 2013 17:05:55 -0700 Subject: [PATCH] fix(build_library): fix the pxe image instructions the args to the kernel have changed to state= and root=squashfs: also make the boot be 1024Mb of RAM otherwise qemu falls over with initrds. --- build_library/vm_image_util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/vm_image_util.sh b/build_library/vm_image_util.sh index 778c88c467..48928e2714 100644 --- a/build_library/vm_image_util.sh +++ b/build_library/vm_image_util.sh @@ -440,7 +440,7 @@ _write_pxe_conf() { If you have qemu installed (or in the SDK), you can start the image with: cd path/to/image - qemu-kvm -kernel ${vmlinuz_name} -initrd ${dst_name} -append 'diskless sshkey="PUT AN SSH KEY HERE"' + qemu-kvm -m 1024 -kernel ${vmlinuz_name} -initrd ${dst_name} -append 'state=tmpfs: root=squashfs: sshkey="PUT AN SSH KEY HERE"' EOF