Browse code

Fixing munin

Jake Dahn authored on 2011/09/17 08:53:22
Showing 1 changed files
... ...
@@ -237,7 +237,7 @@ fi
237 237
 
238 238
 if [[ "$ENABLED_SERVICES" =~ "munin" ]]; then
239 239
     # allow connections from other hosts
240
-    sudo sed -i -e '/Allow from localhost/s/localhost.*$/all/' /etc/munin/apache.conf
240
+    sudo sed -i -e 's/Allow from localhost/Allow from all/g' /etc/munin/apache.conf
241 241
 
242 242
     cat >/tmp/nova <<EOF
243 243
 [keystone_*]