From 56ae9a2b2104bf9e9c74f143347b1ea0d83896c7 Mon Sep 17 00:00:00 2001 From: drmedrme Date: Tue, 5 Sep 2017 18:46:15 +0100 Subject: [PATCH] Add Vagrant User For Pycharm Use --- odoo_install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/odoo_install.sh b/odoo_install.sh index f3115a8..bbd5438 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -17,6 +17,7 @@ ##fixed parameters #odoo OE_USER="odoo" +OE_USER2="vagrant" OE_HOME="/$OE_USER" OE_HOME_EXT="/$OE_USER/${OE_USER}-server" #The default port where this Odoo instance will run under (provided you use the command -c in the terminal) @@ -56,6 +57,7 @@ sudo apt-get install postgresql -y echo -e "\n---- Creating the ODOO PostgreSQL User ----" sudo su - postgres -c "createuser -s $OE_USER" 2> /dev/null || true +sudo su - postgres -c "createuser -s $OE_USER2" 2> /dev/null || true #-------------------------------------------------- # Install Dependencies