diff options
author | Simon Rettberg | 2022-05-23 12:18:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-23 12:18:06 +0200 |
commit | 1bd927a0a3a012e3370430d78f78b06a0adc596d (patch) | |
tree | 287d95d81cb05f7c2d6a992bc8c7e460af5ac8b4 | |
parent | [slx-dmsetup] linear ID44 target; support SLX_NTFSFREE = "always" (diff) | |
download | systemd-init-1bd927a0a3a012e3370430d78f78b06a0adc596d.tar.gz systemd-init-1bd927a0a3a012e3370430d78f78b06a0adc596d.tar.xz systemd-init-1bd927a0a3a012e3370430d78f78b06a0adc596d.zip |
config(.tgz): Increase retry timeout to 20 seconds, use --slx-time
-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 |