2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-20 02:00:24 +00:00

fix todays development version of xcat has a dramatically longer netboot time. #1882

This commit is contained in:
immarvin
2016-09-23 13:18:59 +08:00
parent bcfcdbf219
commit ce8e4cf962
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