summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-03-06 21:38:43 -0800
committerGitHub <noreply@github.com>2021-03-06 21:38:43 -0800
commit8513f615150dc87c1a0a6a7a69df0ddbcd8c9c9e (patch)
tree4e5c4dba0ff42edb3f915e6ef1850ae1ed4bc3bf
parent1b2425a3949c75d814d597058402fc510466c256 (diff)
parentdf7e9e4f2849d3b5e7c9bf36f59c4ddf796d4392 (diff)
downloadchef-8513f615150dc87c1a0a6a7a69df0ddbcd8c9c9e.tar.gz
Merge pull request #11140 from chef/fix_oracle8
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