diff --git a/elements/openvswitch-datapath/install.d/75-openvswitch-datapath b/elements/openvswitch-datapath/install.d/75-openvswitch-datapath index deba01459..46f872208 100755 --- a/elements/openvswitch-datapath/install.d/75-openvswitch-datapath +++ b/elements/openvswitch-datapath/install.d/75-openvswitch-datapath @@ -9,5 +9,5 @@ min=$(printf "%02d" ${KERNEL_VERSION#*.}) # Open vSwitch GRE tunneling included in kernel 3.11 and # VXLAN tunneling in kernel 3.12 if [[ $((10#$maj$min)) -lt 312 ]]; then - install-packages openvswitch-datapath-dkms + install-packages -m openvswitch-datapath openvswitch-datapath-dkms_package fi diff --git a/elements/openvswitch-datapath/pkg-map b/elements/openvswitch-datapath/pkg-map new file mode 100644 index 000000000..8161dd16f --- /dev/null +++ b/elements/openvswitch-datapath/pkg-map @@ -0,0 +1,10 @@ +{ + "family": { + "debian": { + "openvswitch-datapath-dkms_package": "openvswitch-datapath-dkms" + }, + "suse": { + "openvswitch-switch-dkms_package": "openvswitch-kmp" + } + } +} diff --git a/elements/openvswitch/install.d/74-openvswitch b/elements/openvswitch/install.d/74-openvswitch index 13483bb54..77b557c7d 100755 --- a/elements/openvswitch/install.d/74-openvswitch +++ b/elements/openvswitch/install.d/74-openvswitch @@ -1,7 +1,7 @@ #!/bin/bash set -eux -install-packages openvswitch-switch +install-packages -m openvswitch openvswitch-switch_package if [ "$DIB_INIT_SYSTEM" == "systemd" ] ; then os-svc-enable -n openvswitch-switch diff --git a/elements/openvswitch/pkg-map b/elements/openvswitch/pkg-map new file mode 100644 index 000000000..24b44227a --- /dev/null +++ b/elements/openvswitch/pkg-map @@ -0,0 +1,10 @@ +{ + "family": { + "redhat": { + "openvswitch-switch_package": "openvswitch" + } + }, + "default": { + "openvswitch-switch_package": "openvswitch-switch" + } +}