Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Recipes/ENRT/L2TPTunnelRecipe.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
b/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
index 0a78929d..89a94b29 100755
--- a/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
+++ b/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
@@ -82,6 +82,9 @@ class L2TPTunnelRecipe(CommonHWSubConfigMixin, BaseTunnelRecipe):
endpoint1_ip = endpoint1.ips_filter(**ip_filter)[0]
endpoint2_ip = endpoint2.ips_filter(**ip_filter)[0]
+ for host in [host1, host2]:
+ host.run("modprobe l2tp_eth")
+
host1.l2tp = host1.init_class(L2TPManager)
host2.l2tp = host2.init_class(L2TPManager)
--
2.26.3