mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Using an array as a reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -175,7 +175,7 @@ sub setstate { | ||||
|               } | ||||
|               if ($kern and $kern->{kcmdline}) { | ||||
|                 my $kcmdline = $kern->{kcmdline}; | ||||
|                 $kcmdline =~ s/(.*ifname=.*):@macs->[0].*( netdev.*)/$1:$mac$2/g; | ||||
|                 $kcmdline =~ s/(.*ifname=.*):@macs[0].*( netdev.*)/$1:$mac$2/g; | ||||
|                 print $pcfg "\tappend=\"".$kcmdline."\"\n"; | ||||
|               } | ||||
|               close($pcfg); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user