From e7d78316f098769582ecfcbc93bce4b324507810 Mon Sep 17 00:00:00 2001 From: dpmatthews Date: Wed, 27 Mar 2024 15:14:45 +0000 Subject: [PATCH] debug --- .github/workflows/tests.yaml | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c543d7d..6f2107b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,7 +54,7 @@ jobs: vagrant up vagrant status vagrant ssh -c "grep 'errors occurred during installation' /var/log/install.log || true" || \ - ( echo Retry && sleep 20 && vagrant ssh -c "grep 'errors occurred during installation' /var/log/install.log || true" ) + ( echo Retry && sleep 20 && vagrant ssh --debug -c "grep 'errors occurred during installation' /var/log/install.log || true" ) vagrant ssh -c "grep -q 'No errors detected' /var/log/install.log && \ cylc version --long && \ CYLC_VERSION=8 cylc version --long && \ diff --git a/install.sh b/install.sh index 312b401..a1a6ba3 100755 --- a/install.sh +++ b/install.sh @@ -85,10 +85,10 @@ else echo "[INFO] No errors detected" fi +rm -f /etc/nologin if [[ $collections =~ desktop && ! $collections =~ skip-shutdown ]]; then echo Shutting down the system. echo Please run vagrant up to restart it. - rm /etc/nologin sudo shutdown -h now else echo Please run vagrant ssh to connect.