summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-03-04 16:02:00 -0800
committerTim Smith <tsmith84@gmail.com>2021-03-06 20:32:21 -0800
commitdf7e9e4f2849d3b5e7c9bf36f59c4ddf796d4392 (patch)
treeb5f5555134e45412a364818a0b32f72d4c46acbd
parent228291d27b8f1827f98911b6b0192d1efe06e4a3 (diff)
downloadchef-df7e9e4f2849d3b5e7c9bf36f59c4ddf796d4392.tar.gz
Use DNF on Oracle / CentOS kitchen testsfix_oracle8
Oracle 8 docker image no longer ships with yum Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--kitchen-tests/kitchen.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml
index 6d915e4e78..8e894c4699 100644
--- a/kitchen-tests/kitchen.yml
+++ b/kitchen-tests/kitchen.yml
@@ -96,7 +96,7 @@ platforms:
image: dokken/centos-8
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- - RUN yum -y install e2fsprogs
+ - RUN dnf -y install e2fsprogs
- RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
- name: oraclelinux-7
@@ -112,8 +112,8 @@ platforms:
image: dokken/oraclelinux-8
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- - RUN yum -y install e2fsprogs
- - RUN yum -y reinstall systemd
+ - RUN dnf -y install e2fsprogs
+ - RUN dnf -y reinstall systemd
- RUN mkdir /etc/sysconfig/network-scripts # missing from the oracle image
- RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers