]> piware.de Git - bin.git/blob - install-rhel-tools
06b58dd7366c62e2582e107fd1df3ff1c7e831e9
[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