mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-27 07:46:53 +00:00
doc: Align CL version for RT GSG and NUC GSG
Align CL version for RT GSG and NUC GSG Signed-off-by: lirui34 <ruix.li@intel.com>
This commit is contained in:
parent
e7ef57a9f1
commit
988c1e483b
@ -6,19 +6,19 @@
|
|||||||
# You should run this script with root privilege since it will modify various system parameters.
|
# You should run this script with root privilege since it will modify various system parameters.
|
||||||
#
|
#
|
||||||
# Usages:
|
# Usages:
|
||||||
# Upgrade SOS to 31090 without reboot, it's highly recommended so that you can check configurations after upgrade SOS.
|
# Upgrade SOS to 31080 without reboot, it's highly recommended so that you can check configurations after upgrade SOS.
|
||||||
# sudo <script> -s 31090 -d
|
# sudo <script> -s 31080 -d
|
||||||
# Upgrade SOS to 31090 with specified proxy server
|
# Upgrade SOS to 31080 with specified proxy server
|
||||||
# sudo <script> -s 31090 -p <your proxy server>:<port>
|
# sudo <script> -s 31080 -p <your proxy server>:<port>
|
||||||
# Upgrade UOS to 31090 with specified proxy server
|
# Upgrade UOS to 31080 with specified proxy server
|
||||||
# sudo <script> -u 31090 -p <your proxy server>:<port>
|
# sudo <script> -u 31080 -p <your proxy server>:<port>
|
||||||
# Upgrade UOS to 31090 without downloading UOS image, you should put UOS image in /root directory previously.
|
# Upgrade UOS to 31080 without downloading UOS image, you should put UOS image in /root directory previously.
|
||||||
# sudo <script> -u 31090 -k
|
# sudo <script> -u 31080 -k
|
||||||
|
|
||||||
function print_help()
|
function print_help()
|
||||||
{
|
{
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo "Launch this script as: sudo $0 -s 31090"
|
echo "Launch this script as: sudo $0 -s 31080"
|
||||||
echo -e "\t-s to upgrade SOS"
|
echo -e "\t-s to upgrade SOS"
|
||||||
echo -e "\t-u to upgrade UOS"
|
echo -e "\t-u to upgrade UOS"
|
||||||
echo -e "\t-p to specify a proxy server (HTTPS)"
|
echo -e "\t-p to specify a proxy server (HTTPS)"
|
||||||
|
@ -81,10 +81,10 @@ manually, as described below).
|
|||||||
Refer to the ACRN :ref:`release_notes` for the Clear Linux OS
|
Refer to the ACRN :ref:`release_notes` for the Clear Linux OS
|
||||||
version number tested with a specific ACRN release. Adjust the
|
version number tested with a specific ACRN release. Adjust the
|
||||||
instruction below to reference the appropriate version number of Clear
|
instruction below to reference the appropriate version number of Clear
|
||||||
Linux OS (we use version 31090 as an example).
|
Linux OS (we use version 31080 as an example).
|
||||||
|
|
||||||
#. Download the compressed Clear Linux OS installer image from
|
#. Download the compressed Clear Linux OS installer image from
|
||||||
https://download.clearlinux.org/releases/31090/clear/clear-31090-live-server.iso.xz
|
https://download.clearlinux.org/releases/31080/clear/clear-31080-live-server.iso.xz
|
||||||
and follow the `Clear Linux OS Installation Guide
|
and follow the `Clear Linux OS Installation Guide
|
||||||
<https://clearlinux.org/documentation/clear-linux/get-started/bare-metal-install-server>`_
|
<https://clearlinux.org/documentation/clear-linux/get-started/bare-metal-install-server>`_
|
||||||
as a starting point for installing the Clear Linux OS onto your platform.
|
as a starting point for installing the Clear Linux OS onto your platform.
|
||||||
@ -138,7 +138,7 @@ your current Clear Linux version with this command:
|
|||||||
|
|
||||||
$ cat /etc/os-release
|
$ cat /etc/os-release
|
||||||
|
|
||||||
The following instructions use Clear Linux version 31090. Specify the Clear Linux version you want to use.
|
The following instructions use Clear Linux version 31080. Specify the Clear Linux version you want to use.
|
||||||
|
|
||||||
Follow these steps:
|
Follow these steps:
|
||||||
|
|
||||||
@ -154,12 +154,12 @@ Follow these steps:
|
|||||||
$ cd ~
|
$ cd ~
|
||||||
$ wget https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/getting-started/acrn_quick_setup.sh
|
$ wget https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/getting-started/acrn_quick_setup.sh
|
||||||
|
|
||||||
$ sudo sh acrn_quick_setup.sh -s 31090
|
$ sudo sh acrn_quick_setup.sh -s 31080
|
||||||
Password:
|
Password:
|
||||||
Upgrading SOS...
|
Upgrading SOS...
|
||||||
Disable auto update...
|
Disable auto update...
|
||||||
Running systemctl to disable updates
|
Running systemctl to disable updates
|
||||||
Clear Linux version 31090 is already installed. Continuing to setup SOS...
|
Clear Linux version 31080 is already installed. Continuing to setup SOS...
|
||||||
Adding the service-os, kernel-iot-lts2018 and systemd-networkd-autostart bundles...
|
Adding the service-os, kernel-iot-lts2018 and systemd-networkd-autostart bundles...
|
||||||
Loading required manifests...
|
Loading required manifests...
|
||||||
Downloading packs (104.41 MB) for:
|
Downloading packs (104.41 MB) for:
|
||||||
@ -197,7 +197,7 @@ Follow these steps:
|
|||||||
it using the ``-e`` option. For example, to set up the SOS on an NVMe
|
it using the ``-e`` option. For example, to set up the SOS on an NVMe
|
||||||
SSD, you could specify:
|
SSD, you could specify:
|
||||||
|
|
||||||
sudo sh acrn_quick_setup.sh -s 31090 -e /dev/nvme0n1p1
|
sudo sh acrn_quick_setup.sh -s 31080 -e /dev/nvme0n1p1
|
||||||
|
|
||||||
If you don't need to reboot automatically after setting up the SOS, you
|
If you don't need to reboot automatically after setting up the SOS, you
|
||||||
can specify the ``-d`` parameter (don't reboot).
|
can specify the ``-d`` parameter (don't reboot).
|
||||||
@ -219,10 +219,10 @@ Follow these steps:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ sudo sh acrn_quick_setup.sh -u 31090
|
$ sudo sh acrn_quick_setup.sh -u 31080
|
||||||
Password:
|
Password:
|
||||||
Upgrading UOS...
|
Upgrading UOS...
|
||||||
Downloading UOS image: https://download.clearlinux.org/releases/31090/clear/clear-31090-kvm.img.xz
|
Downloading UOS image: https://download.clearlinux.org/releases/31080/clear/clear-31080-kvm.img.xz
|
||||||
% Total % Received % Xferd Average Speed Time Time Time Current
|
% Total % Received % Xferd Average Speed Time Time Time Current
|
||||||
Dload Upload Total Spent Left Speed
|
Dload Upload Total Spent Left Speed
|
||||||
14 248M 14 35.4M 0 0 851k 0 0:04:57 0:00:42 0:04:15 293k
|
14 248M 14 35.4M 0 0 851k 0 0:04:57 0:00:42 0:04:15 293k
|
||||||
@ -231,17 +231,17 @@ Follow these steps:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
Unxz UOS image: clear-31090-kvm.img.xz
|
Unxz UOS image: clear-31080-kvm.img.xz
|
||||||
Get UOS image: clear-31090-kvm.img
|
Get UOS image: clear-31080-kvm.img
|
||||||
Upgrade UOS done...
|
Upgrade UOS done...
|
||||||
Now you can run this command to start UOS...
|
Now you can run this command to start UOS...
|
||||||
$ sudo /root/launch_uos_31090.sh
|
$ sudo /root/launch_uos_31080.sh
|
||||||
|
|
||||||
#. Launch the UOS using the customized launch_uos script (with sudo):
|
#. Launch the UOS using the customized launch_uos script (with sudo):
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ sudo /root/launch_uos_31090.sh
|
$ sudo /root/launch_uos_31080.sh
|
||||||
Password:
|
Password:
|
||||||
|
|
||||||
cpu1 online=0
|
cpu1 online=0
|
||||||
@ -343,17 +343,17 @@ and UOS manually. Follow these steps:
|
|||||||
$ sudo swupd autoupdate --disable
|
$ sudo swupd autoupdate --disable
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
When enabled, the Clear Linux OS installer automatically checks for updates and installs the latest version available on your system. To use a specific version (such as 31090), enter the following command after the installation is complete:
|
When enabled, the Clear Linux OS installer automatically checks for updates and installs the latest version available on your system. To use a specific version (such as 31080), enter the following command after the installation is complete:
|
||||||
|
|
||||||
``sudo swupd repair --picky -V 31090``
|
``sudo swupd repair --picky -V 31080``
|
||||||
|
|
||||||
#. If you have an older version of Clear Linux OS already installed
|
#. If you have an older version of Clear Linux OS already installed
|
||||||
on your hardware, use this command to upgrade the Clear Linux OS
|
on your hardware, use this command to upgrade the Clear Linux OS
|
||||||
to version 31090 (or newer):
|
to version 31080 (or newer):
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
$ sudo swupd update -V 31090 # or newer version
|
$ sudo swupd update -V 31080 # or newer version
|
||||||
|
|
||||||
#. Use the ``sudo swupd bundle-add`` command to add these Clear Linux OS bundles:
|
#. Use the ``sudo swupd bundle-add`` command to add these Clear Linux OS bundles:
|
||||||
|
|
||||||
@ -536,14 +536,14 @@ Set up Reference UOS
|
|||||||
====================
|
====================
|
||||||
|
|
||||||
#. On your platform, download the pre-built reference Clear Linux OS UOS
|
#. On your platform, download the pre-built reference Clear Linux OS UOS
|
||||||
image version 31090 (or newer) into your (root) home directory:
|
image version 31080 (or newer) into your (root) home directory:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
$ cd ~
|
$ cd ~
|
||||||
$ mkdir uos
|
$ mkdir uos
|
||||||
$ cd uos
|
$ cd uos
|
||||||
$ curl https://download.clearlinux.org/releases/31090/clear/clear-31090-kvm.img.xz -o uos.img.xz
|
$ curl https://download.clearlinux.org/releases/31080/clear/clear-31080-kvm.img.xz -o uos.img.xz
|
||||||
|
|
||||||
Note that if you want to use or try out a newer version of Clear Linux OS as the UOS, download the latest from http://download.clearlinux.org/image/. Make sure to adjust the steps described below accordingly (image file name and kernel modules version).
|
Note that if you want to use or try out a newer version of Clear Linux OS as the UOS, download the latest from http://download.clearlinux.org/image/. Make sure to adjust the steps described below accordingly (image file name and kernel modules version).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user