From ce5b50c828f40ee7ed83935ffa5c11e336785a34 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:56:18 +0200 Subject: [PATCH] Change first instance to _ --- .templates/01-custom_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 02e3a353a..114fc8d75 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -12,7 +12,7 @@ if [ ! -d /config ]; then fi # Define slug -slug="${HOSTNAME//-/_}" +slug="${HOSTNAME/-/_}" # Check type of config folder if [ ! -f /config/configuration.yaml ] && [ ! -f /config/configuration.json ]; then