Fix CI tests

Related: RHEL-82415

Signed-off-by: Chris Leech <cleech@redhat.com>
This commit is contained in:
Chris Leech 2025-06-09 18:40:37 -07:00
parent 7b8b81e9e2
commit 97c12fba78
2 changed files with 6 additions and 22 deletions

View File

@ -1,21 +1,5 @@
summary: Tier 0 iSCSI initiator tests
discover:
how: fmf
url: https://gitlab.com/rh-kernel-stqe/sts
ref: fedora
filter:
- tier:0
- tag:iscsi
- tag:local
context:
component: iscsi-initiator-utils
execute:
how: tmt
environment:
STS_VENV_PATH: /opt/sts-venv
prepare:
- name: install-sts-libs
how: shell
script: >
curl --retry 3 --retry-delay 5 --connect-timeout 10 --max-time 30 -s
https://gitlab.com/rh-kernel-stqe/sts/-/raw/fedora/scripts/install-sts-libs.sh | bash
plan:
import:
url: https://gitlab.com/rh-kernel-stqe/sts
name: /plans/iscsi/tier0
ref: main

View File

@ -67,7 +67,7 @@ rlPhaseStartSetup
if [ -f /etc/iscsi/initiatorname.iscsi ]; then
. /etc/iscsi/initiatorname.iscsi
else
echo InitiatorName=`iscsi-iname` > /etc/iscsi/initiatorname.iscsi
echo InitiatorName=`/usr/sbin/iscsi-iname` > /etc/iscsi/initiatorname.iscsi
. /etc/iscsi/initiatorname.iscsi
fi