... | ... |
@@ -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" |