rmmod fails if the module is not loaded; thus, Vagrant aborts provisioning
when started from a clean slate. Use modprobe, which does not fail, instead.
Unloading unused modules the to-be-unloaded module depends on may also be
desirable.
Signed-off-by: Christoph Jaeger <cj@linux.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
# Testing the out of tree Kernel module
check-kmod: all tests/atconfig tests/atlocal $(KMOD_TESTSUITE)
$(MAKE) modules_install
- rmmod openvswitch
+ modprobe -r openvswitch
$(MAKE) check-kernel
clean-local: