diff options
-rwxr-xr-x | modules.d/conf-tgz/hooks/fetch-config-tgz.sh | 2 | ||||
-rwxr-xr-x | modules.d/dnbd3-rootfs/hooks/fetch-config.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/conf-tgz/hooks/fetch-config-tgz.sh b/modules.d/conf-tgz/hooks/fetch-config-tgz.sh index 26e705b2..5fa96de7 100755 --- a/modules.d/conf-tgz/hooks/fetch-config-tgz.sh +++ b/modules.d/conf-tgz/hooks/fetch-config-tgz.sh @@ -18,7 +18,7 @@ if [ -z "$SLX_NO_CONFIG_TGZ" ]; then fi fi info "Download config.tgz from '$conftgz_url'..." - slx-tools download_retry -s "${conftgz_url}" > "/etc/config.tgz" + slx-tools download_retry --slx-time 20 -sS "${conftgz_url}" > "/etc/config.tgz" if [[ ! -s "/etc/config.tgz" ]]; then warn "Failed to download '${conftgz_url}'!" diff --git a/modules.d/dnbd3-rootfs/hooks/fetch-config.sh b/modules.d/dnbd3-rootfs/hooks/fetch-config.sh index a282fa28..021a4c06 100755 --- a/modules.d/dnbd3-rootfs/hooks/fetch-config.sh +++ b/modules.d/dnbd3-rootfs/hooks/fetch-config.sh @@ -35,7 +35,7 @@ fi config_path="/etc/openslx.tmp" echo "Downloading '$config_url'..." -slx-tools download_retry -s "$config_url" > "$config_path" +slx-tools download_retry --slx-time 20 -sS "$config_url" > "$config_path" return_code="$?" if [ ! -s "$config_path" ] ; then |