Merge branch 'network_boot' into 'master'

Network boot use latest version

Network boot documentation said to set version variable to
/usr/share/clear/version and then download
https://download.clearlinux.org/current/clear-${version}-pxe.tar.xz
however if /usr/share/clear/version does not match
https://download.clearlinux.org/latest then
clear-${version}-pxe.tar.xz ends up being an xml response saying
that the file was not found and the tar step fails.

This patch tells the user to set version to
https://download.clearlinux.org/latest so that the download from
/current/ succeeds.

Signed-off-by: John Andersen <john.s.andersen@intel.com>

See merge request !99
This commit is contained in:
Leona
2016-09-22 15:23:56 -07:00
+1 -1
View File
@@ -91,7 +91,7 @@ server root ``/var/www/pxe/``.
.. code-block:: console
# mkdir -p /var/www/pxe/
# version=$(cat /usr/share/clear/version)
# version=$(curl https://download.clearlinux.org/latest)
# curl -o /var/www/pxe/clear-${version}-pxe.tar.xz https://download.clearlinux.org/current/clear-${version}-pxe.tar.xz
# tar -xJf /var/www/pxe/clear-${version}-pxe.tar.xz -C /var/www/pxe/ && rm /var/www/pxe/clear-${version}-pxe.tar.xz
# unset version