summaryrefslogtreecommitdiffstats
path: root/hosts/erp1
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/erp1')
-rw-r--r--hosts/erp13
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/erp1 b/hosts/erp1
index ff8a152..3d5e236 100644
--- a/hosts/erp1
+++ b/hosts/erp1
@@ -103,6 +103,9 @@ do_postinst()
mv /etc/rc.local.orig /etc/rc.local
EOF
chmod a+x "${target}/etc/rc.local"
+ # Another ugly hack: allow non-localhost connections.
+ sed -i '29,31s/^ / #/' \
+ "${target}/etc/apache2/conf-available/ledgersmb.conf"
# Install Odoo.
info 'Installing Odoo'