Move RHEL tools from a separate toolbox to an install script
[bin.git] / install-rhel-tools
1 #!/bin/sh
2 # Install RHEL development tools into a toolbox
3 set -eux
4
5 sudo curl -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt https://password.corp.redhat.com/RH-IT-Root-CA.crt
6 sudo update-ca-trust
7
8 (cd /etc/yum.repos.d; sudo curl -O --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo)
9 sudo dnf install -y rhpkg
10
11 # 1minutetip
12 sudo umount /mnt  # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it
13 sudo wget -O /etc/yum.repos.d/qa-tools.repo http://liver.brq.redhat.com/repo/qa-tools.repo
14 sudo wget -O /etc/yum.repos.d/beaker-client.repo http://download.lab.bos.redhat.com/beakerrepos/beaker-client-Fedora.repo
15 sudo dnf install -y qa-tools-workstation-1minutetip