mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
image_to_vm: print launch command for qemu images
Change-Id: Id62c28eac319caf15a2bf83a69b4f727f9e9d56b BUG=none TEST=sudo emerge qemu-kvm ; image_to_vm <...> ; cut and paste of output Review URL: http://codereview.chromium.org/3418031
This commit is contained in:
parent
0fd8af4a9b
commit
3ed8d12f48
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user