From 2d33c8750e0bf49714c46cb4a181a3f894de43cc Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 4 Mar 2013 19:44:49 -0300 Subject: [PATCH] Need to run apt-get update before installing puppet --- boxes/ubuntu-cloud/setup-vagrant-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/ubuntu-cloud/setup-vagrant-user.sh b/boxes/ubuntu-cloud/setup-vagrant-user.sh index 2e10430..9c03ee1 100755 --- a/boxes/ubuntu-cloud/setup-vagrant-user.sh +++ b/boxes/ubuntu-cloud/setup-vagrant-user.sh @@ -38,7 +38,7 @@ sed -i -e 's/%admin\s\+ALL=(ALL)\s\+ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers service sudo restart sudo su vagrant -c "mkdir -p /home/vagrant/.ssh" sudo su vagrant -c "curl -s -o /home/vagrant/.ssh/authorized_keys https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub" -sudo apt-get install -y puppet +sudo apt-get update && sudo apt-get install -y puppet EOF }