]> piware.de Git - bin.git/blobdiff - install-rhel-tools
Move RHEL tools from a separate toolbox to an install script
[bin.git] / install-rhel-tools
diff --git a/install-rhel-tools b/install-rhel-tools
new file mode 100755 (executable)
index 0000000..06b58dd
--- /dev/null
@@ -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