Commit f6db31926adca9893a97213ec0b4a9fa8675c165
1 parent
06203194
Exists in
master
and in
39 other branches
Actually run the alter user
We were just echoing the sql command
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
vagrant/centos.sh
| ... | ... | @@ -53,7 +53,7 @@ fi |
| 53 | 53 | |
| 54 | 54 | ### Create colab user in PostgreSQL |
| 55 | 55 | echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo |
| 56 | -echo "ALTER USER colab CREATEDB;" | |
| 56 | +echo "ALTER USER colab CREATEDB;" | sudo -u postgres -i psql 2> /dev/null | |
| 57 | 57 | |
| 58 | 58 | ### Create colab DB in PostgreSQL |
| 59 | 59 | sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo | ... | ... |
vagrant/ubuntu.sh
| ... | ... | @@ -14,7 +14,7 @@ chown vagrant:vagrant /etc/colab |
| 14 | 14 | |
| 15 | 15 | ### Create colab user in PostgreSQL |
| 16 | 16 | echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo |
| 17 | -echo "ALTER USER colab CREATEDB;" | |
| 17 | +echo "ALTER USER colab CREATEDB;" | sudo -u postgres -i psql 2> /dev/null | |
| 18 | 18 | |
| 19 | 19 | #i## Create colab DB in PostgreSQL |
| 20 | 20 | sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo | ... | ... |