Browse code

Merge "remove listen directive bound to only ipv4"

Jenkins authored on 2016/12/01 06:22:11
Showing 1 changed files
... ...
@@ -126,9 +126,7 @@ function configure_horizon {
126 126
     if is_ubuntu; then
127 127
         disable_apache_site 000-default
128 128
         sudo touch $horizon_conf
129
-    elif is_fedora; then
130
-        sudo sed '/^Listen/s/^.*$/Listen 0.0.0.0:80/' -i /etc/httpd/conf/httpd.conf
131
-    elif is_suse; then
129
+    elif is_fedora || is_suse; then
132 130
         : # nothing to do
133 131
     else
134 132
         exit_distro_not_supported "horizon apache configuration"