From 9888b1b43ba258e7842100799406f57392c76db7 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 12 Apr 2010 13:12:34 -0700 Subject: [PATCH] xenserver: Fix ip_gre_mod modprobe issue in init script The OVS kernel modules were moved to kernel/extra/openvswitch, but the init script wasn't updated to look for the ip_gre_mod kernel module there. This commit fixes that. CC: Paul Ingram --- xenserver/etc_init.d_openvswitch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index 8b703fc8..b7feb9b4 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -126,7 +126,7 @@ function insert_modules_if_required { if [ "$ENABLE_BRCOMPAT" = "y" ] && [ -n "$BRCOMPATD_PIDFILE" ] && ! lsmod | grep -q "brcompat_mod"; then action "Inserting brcompat module" modprobe brcompat_mod fi - if [ -f "/lib/modules/`uname -r`/kernel/net/openvswitch/ip_gre_mod.ko" ] && ! lsmod | grep -q "ip_gre_mod"; then + if [ -f "/lib/modules/`uname -r`/kernel/extra/openvswitch/ip_gre_mod.ko" ] && ! lsmod | grep -q "ip_gre_mod"; then action "Inserting ip_gre module" modprobe ip_gre_mod fi } -- 2.30.2