From 0cf913a7c145c8213fa39176409a77291150f66b Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Sat, 2 Sep 2023 06:05:37 -0400 Subject: [PATCH] ensure hostname is set --- setup/so-setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index 8537aa7c3..7c419fae2 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -174,7 +174,6 @@ if [ -n "$test_profile" ]; then # The below settings are hardcoded purely for automated testing purposes. TESTING=true - is_desktop_grid=false if [[ "$test_profile" =~ "-sensor" ]]; then install_type=SENSOR @@ -201,6 +200,9 @@ if [ -n "$test_profile" ]; then if [[ "$install_type" =~ "DESKTOP" ]]; then is_desktop=true HOSTNAME=desktop + if [[ -z "$is_desktop_grid" ]]; then + is_desktop_grid=false + fi fi info "Activating test profile; profile=$test_profile; install_type=$install_type"