From 077f9142f7e90fbdfde9da56b29303edc90cf6e7 Mon Sep 17 00:00:00 2001 From: Gordon Franke Date: Tue, 5 Jan 2016 15:23:22 +0100 Subject: [PATCH] remove double sudo --- plugins/provisioners/chef/omnibus.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/chef/omnibus.rb b/plugins/provisioners/chef/omnibus.rb index 897e5282d..edc090718 100644 --- a/plugins/provisioners/chef/omnibus.rb +++ b/plugins/provisioners/chef/omnibus.rb @@ -8,7 +8,7 @@ module VagrantPlugins OMNITRUCK = "https://omnitruck.chef.io".freeze def sh_command(project, version, channel, options = {}) - command = "curl -sL #{OMNITRUCK}/install.sh | sudo bash" + command = "curl -sL #{OMNITRUCK}/install.sh | bash" command << " -s -- -P \"#{project}\" -c \"#{channel}\"" if version != :latest