From aeeacbbe3ea833944d21abe94241b2ce179c8688 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 26 Jan 2015 16:04:53 +0100 Subject: [PATCH] Check if venet0_0 exist instead of venet0 (this one always exists in a CT). --- manifests/vm/openvz.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/vm/openvz.pp b/manifests/vm/openvz.pp index bc1a03e..486a4d5 100644 --- a/manifests/vm/openvz.pp +++ b/manifests/vm/openvz.pp @@ -13,7 +13,7 @@ class proxmox::vm::openvz { # Test if a virtual interface is available if has_interface_with("eth0") { - if has_interface_with("venet0") { # Virtual network available too? + if has_interface_with("venet0_0") { # Virtual network available too? # Need to configure eth0 in an interfaces.tail file because # the main interfaces file is auto-generated by PVE (for venet config)