mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-24 00:15:57 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user