Skip to content

Commit

Permalink
Added an additional line to allow Vagrant sudo user to function with …
Browse files Browse the repository at this point in the history
…No PASS - to get rid of the TTY error - hashicorp/vagrant#1659
  • Loading branch information
jhajek committed Dec 23, 2016
1 parent f77c1e5 commit e2c2472
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packer/scripts/post_install_riemannmc_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ sudo gem install --no-ri --no-rdoc riemann-tools

# http://superuser.com/questions/196848/how-do-i-create-an-administrator-user-on-ubuntu
#sudo usermod -a -G sudo vagrant

sudo mkdir -p /etc/sudoers.d/90-cloud-init-users
sudo sed -i "ubuntu ALL=(ALL) NOPASSWD:ALL" /etc/sudoers.d/90-cloud-init-users



Expand Down

0 comments on commit e2c2472

Please sign in to comment.