diff --git a/source/vm-kvm.rst b/source/vm-kvm.rst index 63370c14..56fb6249 100644 --- a/source/vm-kvm.rst +++ b/source/vm-kvm.rst @@ -11,31 +11,8 @@ image file, the UEFI firmware helper, and the KVM start helper script. Starter script ============== -To start the image, run the `qemu shell script`_ script available in the -`images`_ directory, or modify the following script for your needs and run it -from the command line with ``$ [script name] clr_image`` - -.. code-block:: bash - - #!/bin/bash - if [ $# -eq 0 ] ; then - echo "Please provide an image to emulate as first argument" - exit 1 - fi - image=$1 - shift - # FIXME: Add a proper MAC address - macaddr=XX:XX:XX:XX:XX:XX - qemu-system-x86_64 \ - -usb -device usb-kbd \ - -cpu qemu64,+vmx \ - -enable-kvm \ - -m 512m -bios OVMF.fd \ - -drive file="$image",index=0,if=ide \ - -net nic,model=e1000,macaddr=$macaddr \ - -net user,hostfwd=tcp::2223-:22 \ - -monitor stdio "$@" - +To start the image, run the `qemu shell script`_ available in the +`images`_ directory. SSH is needed for remote logins; however, SSH not enabled by default. To enable it, log in through serial console with the username ``root``. After setting the