diff options
| author | torben | 2015-11-20 17:38:16 +0100 |
|---|---|---|
| committer | torben | 2015-11-20 17:38:16 +0100 |
| commit | 974c1054c8d19e36627ff4ec6f38493d48afb5a8 (patch) | |
| tree | 0573c6ef93cf6634b5466baae47c8feaa426adf5 | |
| parent | Fix. (diff) | |
| download | systemd-init-974c1054c8d19e36627ff4ec6f38493d48afb5a8.tar.gz systemd-init-974c1054c8d19e36627ff4ec6f38493d48afb5a8.tar.xz systemd-init-974c1054c8d19e36627ff4ec6f38493d48afb5a8.zip | |
Fix.
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh index c0fbfdca..c7b2c1a5 100755 --- a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh +++ b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh @@ -3,8 +3,8 @@ source "/usr/lib/utils.sh" # Close previous connections to be able to run this script many times. dnbd3-client --device "$SLX_DNBD3_DEVICE" --close && \ if ! systemd-preserve-process-marker dnbd3-client --host "$SLX_DNBD3_SERVERS" \ - --image "$SLX_DNBD3_IMAGE" --device "$SLX_DNBD3_DEVICE" --rid \ - "$SLX_DNBD3_RID" + --image "${SLX_SERVER_BASE}${SLX_DNBD3_IMAGE}" --device \ + "$SLX_DNBD3_DEVICE" --rid "$SLX_DNBD3_RID" then warn "Failed to connect $SLX_DNBD3_IMAGE from $SLX_DNBD3_SERVER to $SLX_DNBD3_DEVICE" emergency_shell -n "Error in $0" |
