diff options
author | Jonathan Bauer | 2020-11-06 15:20:39 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-11-06 15:20:39 +0100 |
commit | ae547e1be6317e2e690d65d62e36bec518fc91e3 (patch) | |
tree | 2ec41edc4bf4396bbbdf84ff758491f1ff14285a | |
parent | [slx-network] activate dhcp in stage4 by default (diff) | |
download | systemd-init-ae547e1be6317e2e690d65d62e36bec518fc91e3.tar.gz systemd-init-ae547e1be6317e2e690d65d62e36bec518fc91e3.tar.xz systemd-init-ae547e1be6317e2e690d65d62e36bec518fc91e3.zip |
[dnbd3-rootfs] improve debug messages when downloading config
-rwxr-xr-x | modules.d/dnbd3-rootfs/hooks/fetch-config.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules.d/dnbd3-rootfs/hooks/fetch-config.sh b/modules.d/dnbd3-rootfs/hooks/fetch-config.sh index d2e148e8..2f075cc9 100755 --- a/modules.d/dnbd3-rootfs/hooks/fetch-config.sh +++ b/modules.d/dnbd3-rootfs/hooks/fetch-config.sh @@ -38,13 +38,11 @@ echo "Downloading '$config_url'..." slx-tools download_retry -s "$config_url" > "$config_path" if [ ! -s "$config_path" ] ; then - warn "Downloading OpenSLX configuration file from '$config_url' failed with: $return_code" - emergency_shell "CRITICAL: System unusable." + emergency_shell "Downloading netboot configuration file from '$config_url' failed with: $return_code" fi if ! ash -n "$config_path"; then - warn "Downloaded OpenSLX configuration failed syntax check!" - emergency_shell "CRITICAL: System unusable." + emergency_shell "Netboot configuration failed syntax check!" fi # remember kcl server and base |