remove double sudo
This commit is contained in:
parent
d1d493c323
commit
077f9142f7
|
@ -8,7 +8,7 @@ module VagrantPlugins
|
||||||
OMNITRUCK = "https://omnitruck.chef.io".freeze
|
OMNITRUCK = "https://omnitruck.chef.io".freeze
|
||||||
|
|
||||||
def sh_command(project, version, channel, options = {})
|
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}\""
|
command << " -s -- -P \"#{project}\" -c \"#{channel}\""
|
||||||
|
|
||||||
if version != :latest
|
if version != :latest
|
||||||
|
|
Loading…
Reference in New Issue