From 0bc8c9451ccaade653564434eaa5791b9e734134 Mon Sep 17 00:00:00 2001 From: John Andersen Date: Thu, 22 Sep 2016 09:17:00 -0700 Subject: [PATCH] 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 --- source/network_boot.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/network_boot.rst b/source/network_boot.rst index d9277716..2c73b7f0 100644 --- a/source/network_boot.rst +++ b/source/network_boot.rst @@ -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