diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-08 10:44:02 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-08 10:44:02 +0100 |
commit | b214f99c41c5e57993f521117122453665794173 (patch) | |
tree | 54c93850259f25ced0a018472bad9ca788f48210 /Vagrantfile | |
parent | d81771178ceb955fef25a8bd3411b7a344499999 (diff) |
Run createsuperuser script as vagrant user.
Diffstat (limited to 'Vagrantfile')
-rwxr-xr-x | Vagrantfile | 2 |
1 files changed, 1 insertions, 1 deletions
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 "****************" |