From 9ca4a8d8004440ca7b8db1395836df018fbd977b Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 30 May 2016 20:47:13 -0400 Subject: [PATCH] Remove sudo from generated Vagrantfile This is unneeded because, by default, provisioners run as a privileged user. Fixes GH-7295 --- templates/commands/init/Vagrantfile.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/commands/init/Vagrantfile.erb b/templates/commands/init/Vagrantfile.erb index d389a3ea0..d746a7126 100644 --- a/templates/commands/init/Vagrantfile.erb +++ b/templates/commands/init/Vagrantfile.erb @@ -74,7 +74,7 @@ Vagrant.configure("2") do |config| # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the # documentation for more information about their specific syntax and use. # config.vm.provision "shell", inline: <<-SHELL - # sudo apt-get update - # sudo apt-get install -y apache2 + # apt-get update + # apt-get install -y apache2 # SHELL end