Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 5ca6316

Browse files
author
JB
authored
Update kvm.rst (#1234)
Updates for users friendlier processes.
1 parent b188657 commit 5ca6316

File tree

1 file changed

+5
-10
lines changed
  • source/get-started/virtual-machine-install

1 file changed

+5
-10
lines changed

source/get-started/virtual-machine-install/kvm.rst

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ Download and launch the virtual machine image
4141

4242
.. code-block:: bash
4343
44-
curl -O https://cdn.download.clearlinux.org/image/$(curl https://cdn.download.clearlinux.org/image/latest-images.json | grep -o clear-'[0-9]'*-kvm.img.xz | head -1)
44+
curl -o clear.img.xz https://cdn.download.clearlinux.org/image/$(curl https://cdn.download.clearlinux.org/image/latest-images.json | grep -o clear-'[0-9]'*-kvm.img.xz | head -1)
4545
4646
#. Uncompress the downloaded image:
4747

4848
.. code-block:: bash
4949
50-
unxz -v clear-<version>-kvm.img.xz
50+
xz -dv clear.img.xz
5151
5252
#. Download the 3 OVMF files (`OVMF.fd`, `OVMF_CODE.fd`, `OVMF_VARS.fd`) that
5353
provides UEFI support for virtual machines.
@@ -75,17 +75,11 @@ Download and launch the virtual machine image
7575
7676
curl -O https://cdn.download.clearlinux.org/image/start_qemu.sh
7777
78-
#. Make the script executable:
79-
80-
.. code-block:: bash
81-
82-
chmod +x start_qemu.sh
83-
8478
#. Start the |CL| KVM virtual machine:
8579

8680
.. code-block:: bash
8781
88-
sudo ./start_qemu.sh clear-<version>-kvm.img
82+
sudo bash ./start_qemu.sh clear.img
8983
9084
#. Log in as ``root`` user and set a new password.
9185

@@ -178,14 +172,15 @@ To add :abbr:`GDM (GNOME Display Manager)` to the |CL| VM, follow these steps:
178172

179173
.. code-block:: bash
180174
181-
sudo ./start_qemu.sh clear-<version>-kvm.img
175+
sudo ./start_qemu.sh clear.img
182176
183177
#. Determine the IP address of the host on which you will launch the VM.
184178
Substitute <ip-addr-of-kvm-host> in the next step with this information.
185179

186180
.. code-block:: bash
187181
188182
ip a
183+
189184
190185
#. From the local host or remote system, open a new terminal emulator window
191186
and connect into the |CL| VM using the Spice viewer:

0 commit comments

Comments
 (0)