From ab25d7c5ef0feb39196fba7799ae62a57bf7f91a Mon Sep 17 00:00:00 2001 From: Leona Date: Fri, 29 Apr 2016 08:25:18 -0700 Subject: [PATCH] adding updated vm-kvm.rst with feedback Signed-off-by: Leona --- source/vm-kvm.rst | 48 +++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/source/vm-kvm.rst b/source/vm-kvm.rst index 7a8422e3..e685226a 100644 --- a/source/vm-kvm.rst +++ b/source/vm-kvm.rst @@ -3,19 +3,17 @@ Using KVM ######### -The easiest way to get started running Clear Linux* OS for IntelĀ® -Architecture in a virtualized environment is to download a recent KVM image -from the `image directory `_. This -directory contains an image file, the UEFI firmware helper and the KVM start -helper script. +The easiest way to get started in a virtualized environment is to download +a recent KVM image from the `image directory`_ . This directory contains an +image file, the UEFI firmware helper, and the KVM start helper script. + Starter script ============== -To start the image, run the ``start_qemu.sh`` script from -`here `_, or modify -the following script for your needs and run it from the command line -with ``$ script clr_image`` +To start the image, run the ``start_qemu.sh`` script available in the +`download directory`, or modify the following script for your needs and run it +from the command line with ``$ [script name] clr_image`` .. code-block:: bash @@ -39,12 +37,10 @@ with ``$ script clr_image`` -monitor stdio "$@" -To run this script, connect from host via SSH. Take note that SSH is not -enabled by default. To enable it, log in through serial console with the -username ``root``. After setting the password, enable root login via SSH -by configuring :file:`/etc/ssh/sshd_config` with this line - -:: +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 +password, enable root login via SSH by configuring :file:`/etc/ssh/sshd_config` +with this line:: PermitRootLogin yes @@ -54,19 +50,23 @@ Now you may connect from host via SSH through 2223:: Alternatively, there are a few other ways to approach this. -- To run the script without modifying its permissions:: +* To run the script without modifying its permissions:: - $ bash start_qemu.sh clr_image + $ bash start_qemu.sh clr_image -- To run it as a background process:: +* To run it as a background process:: - $ bash start_qemu.sh clr_image & + $ bash start_qemu.sh clr_image & -- If you'd like to run the script with execute permission:: +* If you'd like to run the script with execute permission:: - $ chmod +x start_qemu.sh - $ ./start_qemu.sh clr_image + $ chmod +x start_qemu.sh + $ ./start_qemu.sh clr_image -- And to run it as a background process:: +* And to run it as a background process:: - $ ./start_qemu.sh clr_image & + $ ./start_qemu.sh clr_image & + + +.. _download directory: http://download.clearlinux.org/image/start_qemu.sh +.. _image directory: http://download.clearlinux.org/image/ \ No newline at end of file