Fixes bug 1053537
Change-Id: I901aa5adf34f69f2bc0eee18dc426615240f273e
| ... | ... |
@@ -24,10 +24,13 @@ function _quantum_ovs_base_install_agent_packages() {
|
| 24 | 24 |
if is_ubuntu; then |
| 25 | 25 |
kernel_version=`cat /proc/version | cut -d " " -f3` |
| 26 | 26 |
install_package make fakeroot dkms openvswitch-switch openvswitch-datapath-dkms linux-headers-$kernel_version |
| 27 |
- else |
|
| 28 |
- ### FIXME(dtroyer): Find RPMs for OpenVSwitch |
|
| 27 |
+ elif is_fedora; then |
|
| 28 |
+ install_package openvswitch |
|
| 29 |
+ # Ensure that the service is started |
|
| 30 |
+ restart_service openvswitch |
|
| 31 |
+ elif is_suse; then |
|
| 32 |
+ ### FIXME: Find RPMs for OpenVSwitch |
|
| 29 | 33 |
echo "OpenVSwitch packages need to be located" |
| 30 |
- # Fedora does not started OVS by default |
|
| 31 | 34 |
restart_service openvswitch |
| 32 | 35 |
fi |
| 33 | 36 |
} |