diff --git a/vagrant/centos.sh b/vagrant/centos.sh index d67a247..276ca6a 100755 --- a/vagrant/centos.sh +++ b/vagrant/centos.sh @@ -53,6 +53,7 @@ fi ### Create colab user in PostgreSQL echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo +echo "ALTER USER colab CREATEDB;" ### Create colab DB in PostgreSQL sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo diff --git a/vagrant/ubuntu.sh b/vagrant/ubuntu.sh index 7436d40..6f72995 100755 --- a/vagrant/ubuntu.sh +++ b/vagrant/ubuntu.sh @@ -14,6 +14,7 @@ chown vagrant:vagrant /etc/colab ### Create colab user in PostgreSQL echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo +echo "ALTER USER colab CREATEDB;" #i## Create colab DB in PostgreSQL sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo -- libgit2 0.21.2