summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
12f4a35)
If the provision script fails with Zsh setup then it's annoying
to be dropped to /bin/sh, so let's assume /bin/bash as safe
default.
chroot ${TARGET} apt-get -y install sudo
echo "* Adding Vagrant user"
chroot ${TARGET} apt-get -y install sudo
echo "* Adding Vagrant user"
- chroot ${TARGET} useradd -d /home/vagrant -m -u 1000 vagrant
+ chroot ${TARGET} useradd -d /home/vagrant -m -u 1000 vagrant -s /bin/bash
echo "* Installing Vagrant ssh key"
mkdir -m 0700 -p ${TARGET}/home/vagrant/.ssh
echo "* Installing Vagrant ssh key"
mkdir -m 0700 -p ${TARGET}/home/vagrant/.ssh