mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-27 01:15:34 +00:00 
			
		
		
		
	defect 4049 change Postage.pm to call my_if_facing if xcatmaster attr not set
This commit is contained in:
		| @@ -1392,7 +1392,9 @@ sub  collect_all_attribs_for_tables_in_template | ||||
|                                   $::GLOBAL_TAB_HASH{$tabname}{$node}{$attrib} = $ent->{$node}->[0]->{$attrib}; | ||||
|                                    | ||||
|                                   #for noderes.xcatmaster | ||||
|                                   if ($tabname =~ /^noderes$/ && $attrib =~ /^xcatmaster$/ && ! exists($::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster})) | ||||
|                                   if ($tabname =~ /^noderes$/ && $attrib =~ /^xcatmaster$/ &&  | ||||
|                                      ( ! exists($::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster}) || | ||||
|                                        $::GLOBAL_TAB_HASH{noderes}{$node}{xcatmaster} == ""        ) ) | ||||
|                                   { | ||||
|                                       my $value; | ||||
|                                       $value = xCAT::NetworkUtils->my_ip_facing($node); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user