2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-23 14:57:06 +00:00

ovs-dev: Load all available vport modules on modinst

Automatically load all vport modules upon 'modinst' in case
they are not properly installed and thus not autoloaded.

Suggested-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
This commit is contained in:
Thomas Graf
2015-04-22 09:49:43 +02:00
parent d0d986a5d9
commit 2791b00ce1

View File

@@ -280,6 +280,7 @@ def modinst():
_sh("modprobe", "openvswitch")
_sh("dmesg | grep openvswitch | tail -1")
_sh("find /lib/modules/%s/ -iname vport-*.ko -exec insmod '{}' \;" % uname())
commands.append(modinst)