Skip to content

Commit

Permalink
ovs-dev: Load all available vport modules on modinst
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Graf committed Apr 22, 2015
1 parent d0d986a commit 2791b00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utilities/ovs-dev.py
Expand Up @@ -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)


Expand Down

0 comments on commit 2791b00

Please sign in to comment.