date > /etc/vagrant_box_build_time # Setup sudo to allow no-password sudo for "sudo" usermod -a -G sudo vagrant # Installing vagrant keys mkdir /home/vagrant/.ssh chmod 700 /home/vagrant/.ssh cd /home/vagrant/.ssh groupadd -r admin usermod -a -G admin vagrant wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O authorized_keys chmod 600 /home/vagrant/.ssh/authorized_keys chown -R vagrant /home/vagrant/.ssh