X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=install-rhel-tools;fp=install-rhel-tools;h=06b58dd7366c62e2582e107fd1df3ff1c7e831e9;hp=0000000000000000000000000000000000000000;hb=d6768a0d28550e44c826bb053e34a24c4471df6d;hpb=621320bac419edf75fce586268fe015f915b1bf1 diff --git a/install-rhel-tools b/install-rhel-tools new file mode 100755 index 0000000..06b58dd --- /dev/null +++ b/install-rhel-tools @@ -0,0 +1,15 @@ +#!/bin/sh +# Install RHEL development tools into a toolbox +set -eux + +sudo curl -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt https://password.corp.redhat.com/RH-IT-Root-CA.crt +sudo update-ca-trust + +(cd /etc/yum.repos.d; sudo curl -O --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo) +sudo dnf install -y rhpkg + +# 1minutetip +sudo umount /mnt # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it +sudo wget -O /etc/yum.repos.d/qa-tools.repo http://liver.brq.redhat.com/repo/qa-tools.repo +sudo wget -O /etc/yum.repos.d/beaker-client.repo http://download.lab.bos.redhat.com/beakerrepos/beaker-client-Fedora.repo +sudo dnf install -y qa-tools-workstation-1minutetip