From 7cce8e1ec26498f12fcdbfb7abeb0ff58e879fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 12 Sep 2022 12:49:54 +0200 Subject: [PATCH] Update build-test-image-docker.yml --- .github/workflows/build-test-image-docker.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-image-docker.yml b/.github/workflows/build-test-image-docker.yml index 8279c0e4..4ddc0d16 100644 --- a/.github/workflows/build-test-image-docker.yml +++ b/.github/workflows/build-test-image-docker.yml @@ -203,8 +203,8 @@ jobs: - name: Remove previous if any run: | - virsh destroy Armbian || true - virsh undefine Armbian || true + sudo virsh destroy Armbian || true + sudo virsh undefine Armbian || true - name: Convert to QEMU and resize run: | @@ -252,5 +252,6 @@ jobs: expect \"*language based on your location*\" send \"y\r\" expect eof\r" - - sshpass -p sendmail ssh -o "StrictHostKeyChecking=accept-new" ${USER_ROOT}@${USER_HOST} "apt-get -y update" + + sshpass -p ${PASS_ROOT} ssh -o "StrictHostKeyChecking=accept-new" ${USER_ROOT}@${USER_HOST} "bash /etc/update-motd.d/10-armbian-header" + sshpass -p ${PASS_ROOT} ssh -o "StrictHostKeyChecking=accept-new" ${USER_ROOT}@${USER_HOST} "apt-get -y update"