diff --git a/lib/chef/knife/bootstrap/chef10/rhel.erb b/lib/chef/knife/bootstrap/chef10/rhel.erb index 8723c67..07a3680 100644 --- a/lib/chef/knife/bootstrap/chef10/rhel.erb +++ b/lib/chef/knife/bootstrap/chef10/rhel.erb @@ -9,8 +9,6 @@ export chef_version="<%= Chef::VERSION %>" set -e setup() { - yum update -y - if grep -qi "Red Hat" /etc/redhat-release then platform="redhat" diff --git a/lib/chef/knife/bootstrap/chef11/rhel.erb b/lib/chef/knife/bootstrap/chef11/rhel.erb index f9a6979..705a090 100644 --- a/lib/chef/knife/bootstrap/chef11/rhel.erb +++ b/lib/chef/knife/bootstrap/chef11/rhel.erb @@ -8,9 +8,7 @@ export chef_version="<%= Chef::VERSION %>" set -e -setup() { - yum update -y - +setup() { if grep -qi "Red Hat" /etc/redhat-release then platform="redhat"