From b265a47cfabf2f511583b8502d5e3ea440dbfd99 Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Pla Date: Wed, 18 Dec 2024 13:26:37 +0000 Subject: [PATCH] rm mgrctl Signed-off-by: Jordi Massaguer Pla --- testsuite/podman_runner/08_manager_setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/podman_runner/08_manager_setup.sh b/testsuite/podman_runner/08_manager_setup.sh index 0fa7dea7ca2..eb54ec79a4a 100755 --- a/testsuite/podman_runner/08_manager_setup.sh +++ b/testsuite/podman_runner/08_manager_setup.sh @@ -4,6 +4,9 @@ set -xe src_dir=$(cd $(dirname "$0")/../.. && pwd -P) sudo -i podman exec server bash -c "rpm -e hostname" +# mgrctl should not be installed in this container +sudo -i podman exec server bash -c "rm /usr/bin/mgrctl" + sudo -i podman exec server bash -c "/testsuite/podman_runner/provide-db-schema.sh" sudo -i podman exec -e CERT_O="test_org" -e CERT_OU="test_ou" -e CERT_CITY="test_city" -e CERT_STATE="test_state" -e CERT_COUNTRY="DE" -e CERT_EMAIL="a@b.com" -e CERT_CNAMES="server" -e CERT_PASS="spacewalk" -e UYUNI_FQDN="server" -e MANAGER_USER="admin" -e MANAGER_PASS="spacewalk" -e MANAGER_ADMIN_EMAIL="a@b.com" -e MANAGER_MAIL_FROM="a@b.com" -e MANAGER_ENABLE_TFTP="n" -e MANAGER_DB_NAME="manager" -e MANAGER_DB_HOST="localhost" -e MANAGER_DB_PORT="5432" -e MANAGER_DB_USER="manager" -e MANAGER_DB_PASS="manager" -e MANAGER_DB_PROTOCOL="TCP" -e REPORT_DB_NAME="reportdb" -e REPORT_DB_USER="pythia_susemanager" -e REPORT_DB_PASS="pythia_susemanager" -e EXTERNALDB_ADMIN_USER="" -e EXTERNALDB_ADMIN_PASS="" -e EXTERNALDB_PROVIDER="" -e ISS_PARENT="" -e ACTIVATE_SLP="" -e SCC_USER="" -e SCC_PASS="" server bash -c /usr/lib/susemanager/bin/mgr-setup sudo -i podman exec server bash -c "/usr/bin/spacewalk-schema-upgrade -y"