diff options
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/fetch-config.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/fetch-config.sh b/builder/dnbd3-rootfs/hooks/fetch-config.sh index 7921a99f..23c5f004 100755 --- a/builder/dnbd3-rootfs/hooks/fetch-config.sh +++ b/builder/dnbd3-rootfs/hooks/fetch-config.sh @@ -29,7 +29,7 @@ IFS=',' for host in ${slx_server}; do logging.info "Trying host \"$host\"." if wget --timeout 5 \ - "http://${host}/${slx_server_base}${configuration_file_name}" \ + "http://${host}/${slx_server_base}/${configuration_file_name}" \ --output-document '/etc/openslx' then break @@ -38,7 +38,7 @@ done IFS="$IFS_backup" if [[ ! -e "/etc/openslx" ]]; then - logging.warn "Downloading OpenSLX configuration file from any of the servers \"${slx_server}\" at location \"${slx_server_base}${configuration_file_name}\" failed. Return code: $return_code" + logging.warn "Downloading OpenSLX configuration file from any of the servers \"${slx_server}\" at location \"${slx_server_base}/${configuration_file_name}\" failed. Return code: $return_code" exit 1 fi } |
