2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Merge pull request #1884 from xcat2/onissue

fix todays development version of xcat has a dramatically longer netboot time. #1882
This commit is contained in:
neo954 2016-09-23 00:31:44 -05:00 committed by GitHub
commit 6386309e97
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ if [ ! -z "$imgurl" ]; then
while [ ! -r "$FILENAME" ]; do
[ "$xcatdebugmode" > "0" ] && logger -t xcat -p debug "downloading $imgurl...."
echo Getting $imgurl...
if ! wget $imgurl; then
if ! wget -nv $imgurl; then
[ "$xcatdebugmode" > "0" ] && logger -t xcat -p debug "downloading $imgurl failed,retrying...."
rm -f $FILENAME
sleep 27

View File

@ -36,7 +36,7 @@ if [ ! -z "$imgurl" ]; then
while [ ! -r "$FILENAME" ]; do
[ "$xcatdebugmode" > "0" ] && logger -t xcat -p debug "downloading $imgurl...."
echo Getting $imgurl...
if ! wget $imgurl; then
if ! wget -nv $imgurl; then
[ "$xcatdebugmode" > "0" ] && logger -t xcat -p debug "downloading $imgurl failed,retrying...."
rm -f $FILENAME
sleep 27