diff options
author | Tim Smith <tsmith@chef.io> | 2020-12-29 09:17:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 09:17:42 -0800 |
commit | acd5b752a727da3bbd44de1b5d5f157f2175b5b9 (patch) | |
tree | 3b728315b35b76fae3912341fb3dfa4d8f7cc66e | |
parent | 17bbb2caa92512138ac4836480ede48ad68b3d80 (diff) | |
parent | e307f3a23583e6adf6a777da8fae74e43f4d78cb (diff) | |
download | chef-acd5b752a727da3bbd44de1b5d5f157f2175b5b9.tar.gz |
Merge pull request #10723 from chef/rhel6_tests
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | kitchen-tests/kitchen.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml index 4b56d70fe1..bc68607afe 100644 --- a/kitchen-tests/kitchen.yml +++ b/kitchen-tests/kitchen.yml @@ -69,7 +69,8 @@ platforms: pid_one_command: /sbin/init intermediate_instructions: - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - - RUN yum install -y centos-release-scl + - RUN wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo + - RUN printf "[centos-sclo-rh]\nname=CentOS-6 - SCLo rh\nbaseurl=http://vault.centos.org/centos/6/sclo/x86_64/rh\ngpgcheck=1\nenabled=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo" > /etc/yum.repos.d/CentOS-SCLo-rh.repo - RUN yum install -y devtoolset-7 - RUN scl enable devtoolset-7 bash |