diff options
author | Jonathan Bauer | 2020-08-31 14:00:57 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-08-31 14:00:57 +0200 |
commit | f76da82f2971bd92d0a6ebc71b39d1c3951781ca (patch) | |
tree | 8a102638fde6ef90bafa5dda8f394d6d04d508ef | |
parent | [dnbd3-rootfs] formatting (diff) | |
download | systemd-init-f76da82f2971bd92d0a6ebc71b39d1c3951781ca.tar.gz systemd-init-f76da82f2971bd92d0a6ebc71b39d1c3951781ca.tar.xz systemd-init-f76da82f2971bd92d0a6ebc71b39d1c3951781ca.zip |
[dnbd3-rootfs] fix dnbd3 error message
-rwxr-xr-x | modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh b/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh index d8de7c92..49047c51 100755 --- a/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh +++ b/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh @@ -71,9 +71,11 @@ fi IFS=", " for try in {1..5} FAIL; do if [ "$try" = "FAIL" ]; then - emergency_shell "Failed to connect '${SLX_DNBD3_IMAGE}' "\ - "${SLX_DNBD3_RID:+(revision: $SLX_DNBD3_RID)} " - "from one of '$SLX_DNBD3_SERVERS' to '$_dnbd3_dev'." + emergency_shell "Failed to connect '${SLX_DNBD3_IMAGE}'" \ + "${SLX_DNBD3_RID:+(revision: $SLX_DNBD3_RID)}" \ + "from one of '$SLX_DNBD3_SERVERS' to '$_dnbd3_dev'." \ + "Check if the image exists on one of the servers" \ + "and if any is reachable from this client." fi for host in ${SLX_DNBD3_SERVERS}; do info "Trying host \"$host\"." |