From e8de7a71a1fcc5b7205f3337fd0fa1a115875a6c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 30 Sep 2014 14:43:22 +0200 Subject: [PATCH] run on 0.0.0.0 if installing in lxc --- vm/firstboot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vm/firstboot.sh b/vm/firstboot.sh index 129b8083..f22d0b19 100755 --- a/vm/firstboot.sh +++ b/vm/firstboot.sh @@ -114,7 +114,9 @@ $MANAGE update_static $MANAGE collectstatic -l --noinput cp /srv/pandora/etc/init/* /etc/init/ - +if [ "$LXC" == "yes" ]; then + sed -i s/127.0.0.1/0.0.0.0/g /etc/init/pandora.conf +fi /srv/pandora/ctl start #logrotate