Skip to content

Commit

Permalink
don't run yum update
Browse files Browse the repository at this point in the history
  • Loading branch information
danryan committed Feb 10, 2013
1 parent fb5ca91 commit 56e4213
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions lib/chef/knife/bootstrap/chef10/rhel.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions lib/chef/knife/bootstrap/chef11/rhel.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 56e4213

Please sign in to comment.