Skip to content

Commit

Permalink
node.ks: simplify appliance and python-coverage installation
Browse files Browse the repository at this point in the history
  • Loading branch information
michalskrivanek committed Jun 9, 2022
1 parent 5a7b8bc commit eb908f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions configs/node/node.ks.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,8 @@ nsenter --root=/tmp/rw_layer sed -i '$ a\cachedir=/dnftmp' /etc/dnf/dnf.conf
source /etc/os-release
if [ "$ID" = "rhel" ]; then
nsenter --root=/tmp/rw_layer dnf --repo=ostci --repofrompath ostci,%REPO_ROOT% --nogpgcheck install -y rhvm-appliance python3-coverage
elif [ "$VERSION" = "9" ]; then
nsenter --root=/tmp/rw_layer dnf --repo=ovirt-\* --releasever=9 install -y ovirt-engine-appliance https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL9Collection/centos-stream-9-x86_64/02351243-python-coverage/python3-coverage-5.5-1.el9.x86_64.rpm
else
# --repo is mainly an optimization, also helps preventing some build failures -
# if they are due to other repos being inaccessible.
nsenter --root=/tmp/rw_layer dnf --repo=ovirt-\* --releasever=8 install -y ovirt-engine-appliance https://copr-be.cloud.fedoraproject.org/results/sbonazzo/EL8_collection/epel-8-x86_64/01044152-python-coverage/python3-coverage-4.5.4-3.el8.x86_64.rpm
nsenter --root=/tmp/rw_layer dnf --releasever=$VERSION --disableexcludes=all install -y ovirt-engine-appliance python3-coverage
fi

# write down which OpenSCAP profile is set
Expand Down

0 comments on commit eb908f1

Please # to comment.