From 2bc5a6822b9854eba001df435832a4d240cfe641 Mon Sep 17 00:00:00 2001 From: Inessa Vasilevskaya Date: Thu, 28 Apr 2022 11:40:07 +0200 Subject: [PATCH 24/39] Pass enable root auth post-install-script This should allow root auth on every guest, even those that don't have it enabled by default. OAMG-6748 --- .github/workflows/tmt-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tmt-tests.yml b/.github/workflows/tmt-tests.yml index 75768e51..2b10571d 100644 --- a/.github/workflows/tmt-tests.yml +++ b/.github/workflows/tmt-tests.yml @@ -166,6 +166,7 @@ jobs: # preparation moved out to a different workflow and the rest split into 2 workflows - 7to8 and 8to9 that are # triggered on a specific repository dispatch event. update_pull_request_status: 'false' + environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}' - name: Schedule regression testing for 8to9 id: run_test_8to9 @@ -194,3 +195,4 @@ jobs: # preparation moved out to a different workflow and the rest split into 2 workflows - 7to8 and 8to9 that are # triggered on a specific repository dispatch event. update_pull_request_status: 'false' + environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}' -- 2.35.3