Don't fail if there is no nf_conntrack_proto_gre module available

It may be that it is already compiled in the kernel so there is no
need to load kernel module in such case.

Change-Id: Ie1d32e3fd529e13958857cb3ced6710eebde1e4d
This commit is contained in:
Slawek Kaplonski 2021-10-05 20:44:57 +02:00
parent 82facd6edf
commit b4e683e6b9

View File

@ -211,5 +211,5 @@ function remove_ovs_packages {
# load_conntrack_gre_module() - loads nf_conntrack_proto_gre kernel module # load_conntrack_gre_module() - loads nf_conntrack_proto_gre kernel module
function load_conntrack_gre_module { function load_conntrack_gre_module {
sudo modprobe nf_conntrack_proto_gre load_module nf_conntrack_proto_gre False
} }