Ensure that openvswitch is installed for Fedora

Fixes bug 1053537

Change-Id: I901aa5adf34f69f2bc0eee18dc426615240f273e
This commit is contained in:
Gary Kotton 2013-02-25 13:02:38 +00:00
parent 555ecd07b0
commit 5452b18d23

View File

@ -24,10 +24,13 @@ function _quantum_ovs_base_install_agent_packages() {
if is_ubuntu; then
kernel_version=`cat /proc/version | cut -d " " -f3`
install_package make fakeroot dkms openvswitch-switch openvswitch-datapath-dkms linux-headers-$kernel_version
else
### FIXME(dtroyer): Find RPMs for OpenVSwitch
elif is_fedora; then
install_package openvswitch
# Ensure that the service is started
restart_service openvswitch
elif is_suse; then
### FIXME: Find RPMs for OpenVSwitch
echo "OpenVSwitch packages need to be located"
# Fedora does not started OVS by default
restart_service openvswitch
fi
}