From 605dad01e0a52c61876ea23150b169d3658aad34 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 2 Feb 2018 15:14:58 -0800 Subject: [PATCH] default user name is "vagrant" now --- vagrant/ubuntu-16.04/Vagrantfile | 4 ++-- vagrant/ubuntu-16.04/bootstrap.sh | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/vagrant/ubuntu-16.04/Vagrantfile b/vagrant/ubuntu-16.04/Vagrantfile index 29102e89..4b34befd 100644 --- a/vagrant/ubuntu-16.04/Vagrantfile +++ b/vagrant/ubuntu-16.04/Vagrantfile @@ -16,9 +16,9 @@ Vagrant.configure("2") do |config| # Share the Phoenix/dist folder so the VM can get the source tarball and has # a place to put the build results. - config.vm.synced_folder "../../dist", "/home/ubuntu/dist" + config.vm.synced_folder "../../dist", "/home/vagrant/dist" # And share a folder with the build script - config.vm.synced_folder "../scripts", "/home/ubuntu/scripts" + config.vm.synced_folder "../scripts", "/home/vagrant/scripts" end diff --git a/vagrant/ubuntu-16.04/bootstrap.sh b/vagrant/ubuntu-16.04/bootstrap.sh index fa9246dd..5993fc2b 100644 --- a/vagrant/ubuntu-16.04/bootstrap.sh +++ b/vagrant/ubuntu-16.04/bootstrap.sh @@ -28,7 +28,5 @@ virtualenv --python=python2.7 venvs/Py27 pyvenv-3.5 venvs/Py35 python3.6 -m venv venvs/Py36 -#chown -R vagrant:vagrant venvs -# This box provides a user named "ubuntu" instead -chown -R ubuntu:ubuntu venvs +chown -R vagrant:vagrant venvs