From ae547e1be6317e2e690d65d62e36bec518fc91e3 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 6 Nov 2020 15:20:39 +0100 Subject: [dnbd3-rootfs] improve debug messages when downloading config --- modules.d/dnbd3-rootfs/hooks/fetch-config.sh | 6 ++---- 1 file 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 -- cgit v1.2.3-55-g7522