Revision cb489189

b/snf-image-host/common.sh.in
35 35
INSTALL_MBR="install-mbr"
36 36
TIMELIMIT="timelimit"
37 37
CURL="curl"
38
WGET="wget"
39 38
PROGRESS_MONITOR="snf-progress-monitor"
40 39

  
41 40
progress_monitor_support="@progress_monitor_support@"
b/snf-image-host/configure.ac
117 117
  AC_MSG_ERROR([timelimit not found in $PATH:/usr/sbin:/sbin])
118 118
fi
119 119

  
120
AC_PATH_PROG(WGET, [wget], [], [$PATH:/usr/sbin:/sbin])
121
if test -z "$WGET" ; then
122
  AC_MSG_ERROR([wget not found in $PATH:/usr/sbin:/sbin])
123
fi
124

  
125 120
AC_PATH_PROG(CURL, [curl], [], [$PATH:/usr/sbin:/sbin])
126 121
if test -z "$CURL" ; then
127 122
  AC_MSG_ERROR([curl not found in $PATH:/usr/sbin:/sbin])
b/snf-image-host/create
82 82
esac
83 83

  
84 84
if [ "$IMAGE_TYPE" = "custom" ]; then
85
    "$WGET" -O - $IMAGE_NAME | $monitor dd bs=4M of="$target" oflag=direct
85
    "$CURL" "$IMAGE_NAME" 2>/dev/null |\
86
        $monitor dd bs=4M of="$target" oflag=direct
86 87
else
87 88
    # dd the dump to its new home :-)
88 89
    # Deploying an image file on a target block device is a streaming copy
b/snf-image-host/defaults
67 67
# INSTALL_MBR="install-mbr"
68 68
# TIMELIMIT="timelimit"
69 69
# CURL="curl"
70
# WGET="wget"
71 70
# PROGRESS_MONITOR="snf-progress-monitor"

Also available in: Unified diff