fix the sequence of script commands
A missing ';' character causes an error when the script lines get concatenated and executed on RHEL-8 machine.
This commit is contained in:
parent
e756dec2b1
commit
5db7d069a4
@ -5,14 +5,6 @@ discover:
|
|||||||
filter: "tier:1 & tag:-failinfedora | component:selinux-policy & tag:-failinfedora"
|
filter: "tier:1 & tag:-failinfedora | component:selinux-policy & tag:-failinfedora"
|
||||||
prepare:
|
prepare:
|
||||||
how: shell
|
how: shell
|
||||||
script: yum config-manager --set-enabled epel ; sed -i 's/CentOS Stream/Red Hat Enterprise Linux/' /etc/redhat-release
|
script: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm ; yum config-manager --set-enabled epel ; sed -i 's/CentOS Stream/Red Hat Enterprise Linux/' /etc/redhat-release
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
adjust:
|
|
||||||
- when: distro ~= rhel-9
|
|
||||||
prepare+:
|
|
||||||
script+<: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
|
|
||||||
- when: distro ~= rhel-8
|
|
||||||
prepare+:
|
|
||||||
script+<: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user