From b214f99c41c5e57993f521117122453665794173 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 8 Aug 2016 10:44:02 +0100 Subject: Run createsuperuser script as vagrant user. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 80e79846d..505883aa0 100755 --- a/Vagrantfile +++ b/Vagrantfile @@ -50,7 +50,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| sed -i -r -e "s,^( *BASE_URL: .*)',\\1:3000'," fixmystreet/conf/general.yml fi # Create a superuser for the admin - fixmystreet/bin/createsuperuser superuser@example.org password + su vagrant -c 'fixmystreet/bin/createsuperuser superuser@example.org password' if [ $SUCCESS -eq 0 ]; then # All done echo "****************" -- cgit v1.2.3