bugfix - send info messages during PXE boot to stderr

This commit is contained in:
TomasM
2018-10-11 04:10:28 -05:00
parent 56399ef6b9
commit 3eca7a4f07
+2 -2
View File
@@ -465,7 +465,7 @@ download_data_pxe()
init_network_ip
echo "* Downloading PXE file list"
echo "* Downloading PXE file list" >&2
PROTOCOL=http
wget -q -O "$1/PXEFILELIST" "http://$SERVER:$PORT/PXEFILELIST?$(uname -r):$(uname -m)"
@@ -475,7 +475,7 @@ download_data_pxe()
tftp -g -r PXEFILELIST -l "$1/PXEFILELIST" $SERVER
fi
echo "* Downloading files from the list"
echo "* Downloading files from the list" >&2
cat "$1/PXEFILELIST" | while read FILE; do
if [ "$PROTOCOL" = "http" ]; then