You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2019/07/10 20:50:57 UTC

[vcl] 02/02: Ubuntu.pm: commented out get_network_configuration so that base version of function in Linux.pm will be used instead; the output of ifconfig changed in Ubuntu 18 such that the base function worked better for older and newer versions of Ubuntu

This is an automated email from the ASF dual-hosted git repository.

jfthomps pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/vcl.git

commit 39d199f78c37ac72f2eec286c9325f22bc5fcf6e
Author: Josh Thompson <jf...@ncsu.edu>
AuthorDate: Wed Jul 10 16:48:13 2019 -0400

    Ubuntu.pm: commented out get_network_configuration so that base version of function in Linux.pm will be used instead; the output of ifconfig changed in Ubuntu 18 such that the base function worked better for older and newer versions of Ubuntu
---
 managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm b/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm
index a74d74b..0b73160 100644
--- a/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm
+++ b/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm
@@ -154,6 +154,7 @@ sub set_password {
 
 =cut
 
+=head2 comment out this get_network_configuration to use version of function in Linux.
 sub get_network_configuration {
 	my $self = shift;
 	if (ref($self) !~ /VCL::Module/i) {
@@ -238,6 +239,7 @@ sub get_network_configuration {
 	return $self->{network_configuration};
 		
 }
+=cut
 
 #//////////////////////////////////////////////////////////////////////////////