fix#220182,The node is not rebooted automatically while use new image profile during re-installation process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -179,14 +179,17 @@ sub parse_args{
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        # translate the profile names into real group names in db.
 | 
			
		||||
        if($argarray[0] eq "networkprofile"){
 | 
			
		||||
            $args_dict{$argarray[0]} = "__NetworkProfile_".$argarray[1];
 | 
			
		||||
        } elsif ($argarray[0] eq "imageprofile"){
 | 
			
		||||
            $args_dict{$argarray[0]} = "__ImageProfile_".$argarray[1];
 | 
			
		||||
        } elsif ($argarray[0] eq "hardwareprofile"){
 | 
			
		||||
            $args_dict{$argarray[0]} = "__HardwareProfile_".$argarray[1];
 | 
			
		||||
        } else{
 | 
			
		||||
            $args_dict{$argarray[0]} = $argarray[1];
 | 
			
		||||
        if($argarray[1])
 | 
			
		||||
        {
 | 
			
		||||
            if($argarray[0] eq "networkprofile"){
 | 
			
		||||
                $args_dict{$argarray[0]} = "__NetworkProfile_".$argarray[1];
 | 
			
		||||
            } elsif ($argarray[0] eq "imageprofile"){
 | 
			
		||||
                $args_dict{$argarray[0]} = "__ImageProfile_".$argarray[1];
 | 
			
		||||
            } elsif ($argarray[0] eq "hardwareprofile"){
 | 
			
		||||
                $args_dict{$argarray[0]} = "__HardwareProfile_".$argarray[1];
 | 
			
		||||
            } else{
 | 
			
		||||
                $args_dict{$argarray[0]} = $argarray[1];
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    return undef;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user