Packer templates for building Vagrant boxes customized by Evolix.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
323 B

set -eu
useradd --uid 1000 --user-group --create-home vagrant
usermod -G sudo vagrant
umask 0077
mkdir /home/vagrant/.ssh
wget --output-document=/home/vagrant/.ssh/authorized_keys ''
chown --recursive vagrant:vagrant /home/vagrant/.ssh