]> piware.de Git - bin.git/blobdiff - install-rhel-tools
gomuks: Add
[bin.git] / install-rhel-tools
index 7953c726b55162c5d2958276a39b0852baede522..4fcea986b62ac2eb4ca6a41a343861ca05395017 100755 (executable)
@@ -2,7 +2,9 @@
 # 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 curl -o /etc/pki/ca-trust/source/anchors/2015-RH-IT-Root-CA.crt https://certs.corp.redhat.com/certs/2015-IT-Root-CA.pem
+sudo curl -o /etc/pki/ca-trust/source/anchors/2022-RH-IT-Root-CA.crt https://certs.corp.redhat.com/certs/2022-IT-Root-CA.pem
+
 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)
@@ -19,6 +21,6 @@ sudo dnf install -y covscan-client
 # 1minutetip: https://wiki.test.redhat.com/BaseOs/Projects/1minuteTIP
 if mountpoint /mnt; then sudo umount /mnt; fi # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it
 . /etc/os-release
-sudo wget -O /etc/yum.repos.d/qa-tools.repo https://copr.devel.redhat.com/coprs/lpol/qa-tools/repo/fedora-36/lpol-qa-tools-fedora-${VERSION_ID}.repo
-sudo wget -O /etc/yum.repos.d/beaker-client.repo http://download.lab.bos.redhat.com/beakerrepos/beaker-client-Fedora.repo
+sudo curl -o /etc/yum.repos.d/qa-tools.repo https://copr.devel.redhat.com/coprs/lpol/qa-tools/repo/fedora-36/lpol-qa-tools-fedora-${VERSION_ID}.repo
+sudo curl -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 tmt-redhat-provision-minute