bugfix - send info messages during PXE boot to stderr

pull/63/head
TomasM 2018-10-11 04:10:28 -05:00
parent 56399ef6b9
commit 3eca7a4f07
1 changed files with 2 additions and 2 deletions

View File

@ -465,7 +465,7 @@ download_data_pxe()
init_network_ip init_network_ip
echo "* Downloading PXE file list" echo "* Downloading PXE file list" >&2
PROTOCOL=http PROTOCOL=http
wget -q -O "$1/PXEFILELIST" "http://$SERVER:$PORT/PXEFILELIST?$(uname -r):$(uname -m)" 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 tftp -g -r PXEFILELIST -l "$1/PXEFILELIST" $SERVER
fi fi
echo "* Downloading files from the list" echo "* Downloading files from the list" >&2
cat "$1/PXEFILELIST" | while read FILE; do cat "$1/PXEFILELIST" | while read FILE; do
if [ "$PROTOCOL" = "http" ]; then if [ "$PROTOCOL" = "http" ]; then