summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2016-05-24 16:46:20 +0200
committerJonathan Bauer2016-05-24 16:46:20 +0200
commit41d9dae4ab3ef0e05b68d22e94a6f46357979b9a (patch)
tree7cd182cf987071fbd8872d4188db2472ab5acd02
parentalso copy/build conf-tgz module (quick hack) (diff)
downloadsystemd-init-41d9dae4ab3ef0e05b68d22e94a6f46357979b9a.tar.gz
systemd-init-41d9dae4ab3ef0e05b68d22e94a6f46357979b9a.tar.xz
systemd-init-41d9dae4ab3ef0e05b68d22e94a6f46357979b9a.zip
[fetch-config] add trailing slash after $slxbase
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/fetch-config.sh4
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
}