diff options
Diffstat (limited to 'builder/dnbd3-rootfs/hooks/prepare-root-partition.sh')
-rwxr-xr-x | builder/dnbd3-rootfs/hooks/prepare-root-partition.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh index 60b29882..88568995 100755 --- a/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh +++ b/builder/dnbd3-rootfs/hooks/prepare-root-partition.sh @@ -71,7 +71,7 @@ return_code=1 for host in ${SLX_DNBD3_SERVERS}; do logging.info "Trying host '$host'." if systemd-preserve-process-marker dnbd3-client --host "$host" --image \ - "${SLX_SERVER_BASE#/}${SLX_DNBD3_IMAGE}" --device "$SLX_DNBD3_DEVICE" \ + "${SLX_DNBD3_IMAGE}" --device "$SLX_DNBD3_DEVICE" \ --rid "$SLX_DNBD3_RID" then return_code=0 @@ -81,7 +81,7 @@ done IFS="$IFS_backup" if [[ $return_code != 0 ]]; then - logging.warn "Failed to connect '${SLX_SERVER_BASE#/}${SLX_DNBD3_IMAGE}' from" \ + logging.warn "Failed to connect '${SLX_DNBD3_IMAGE}' from" \ "one of '$SLX_DNBD3_SERVERS' to '$SLX_DNBD3_DEVICE'." exit 1 fi |