[pve-devel] [PATCH pve-network 5/5] fix test generateconfig.pl

Alexandre Derumier aderumier at odiso.com
Fri Jun 7 11:58:32 CEST 2019


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 test/generateconfig.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/generateconfig.pl b/test/generateconfig.pl
index 1477261..8f342c0 100644
--- a/test/generateconfig.pl
+++ b/test/generateconfig.pl
@@ -3,6 +3,7 @@ use warnings;
 use File::Copy;
 use PVE::Cluster qw(cfs_read_file);
 
+use PVE::NetworkConfig;
 use PVE::Network::SDN::Plugin;
 use PVE::Network::SDN::VnetPlugin;
 use PVE::Network::SDN::VlanPlugin;
@@ -26,7 +27,7 @@ sub generate_network_config {
      #read main config for physical interfaces
      my $current_config_file = "/etc/network/interfaces";
      my $fh = IO::File->new($current_config_file);
-     my $interfaces_config = PVE::INotify::read_etc_network_interfaces(1,$fh);
+     my $interfaces_config = PVE::NetworkConfig::read_etc_network_interfaces(1,$fh);
      $fh->close();
 
      #check uplinks
-- 
2.20.1




More information about the pve-devel mailing list