summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-09-11 00:39:47 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-09-11 00:39:47 (EDT)
commit84e09208e27ff364bfb0fb5c5544bad53ebdfa4d (patch)
tree47f09fb8a4282a380d49330c6315066ca67998e9 /hosts
parenta770af91d44f1e788e9fdd98f882a95e487ea76d (diff)
downloadpc-inst-84e09208e27ff364bfb0fb5c5544bad53ebdfa4d.zip
pc-inst-84e09208e27ff364bfb0fb5c5544bad53ebdfa4d.tar.gz
pc-inst-84e09208e27ff364bfb0fb5c5544bad53ebdfa4d.tar.bz2
erp1: Hack
Diffstat (limited to 'hosts')
-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'