From 3cb9e8f377f2af205d55b929e9aefc9ba0238b69 Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Tue, 17 Dec 2024 18:11:46 +0100 Subject: [PATCH] expect: check the hostname as well While at it, we have it, better to check then. Signed-off-by: Matthieu Baerts (NGI0) --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index d20d83b..d0f6fe2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1397,7 +1397,7 @@ set timeout "1" for {set i 0} {\$i < 60} {incr i 1} { expect { - "root@" { + "root@${INPUT_HOSTNAME}" { send_user "\n$(log_section_end)" send_user "Starting the validation script (after \$i sec)\n" break