diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index d508a9d4a..205002848 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -111,7 +111,7 @@ fi # Check if there are lines to read cp "$CONFIGSOURCE" /tempenv sed -i '/^#/d' /tempenv -sed -i '/^ /d' /tempenv +sed -i '/^[[:space:]]*$/d' /tempenv sed -i '/^$/d' /tempenv # Exit if empty if [ ! -s /tempenv ]; then