mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-23 16:05:58 +00:00
adding updated vm-kvm.rst with feedback
Signed-off-by: Leona <leonax.cook@intel.com>
This commit is contained in:
+24
-24
@@ -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 <http://download.clearlinux.org/image/>`_. 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 <http://download.clearlinux.org/image/start_qemu.sh>`_, 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/
|
||||
Reference in New Issue
Block a user