summaryrefslogtreecommitdiffstats
path: root/hosts/erp1
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/erp1')
-rw-r--r--hosts/erp11
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/erp1 b/hosts/erp1
index de5b7e7..7ce1a87 100644
--- a/hosts/erp1
+++ b/hosts/erp1
@@ -102,6 +102,7 @@ do_postinst()
pg_dropcluster --stop 9.4 main
pg_createcluster --locale en_US.UTF-8 --start 9.4 main
/usr/share/ledgersmb/tools/config-lsmb-db-user.sh ledgersmb LEDGERSMBINITIAL
+ sudo -u postgres createuser -d odoo
mv /etc/rc.local.orig /etc/rc.local
EOF
chmod a+x "${target}/etc/rc.local"