Removed --hfi for rnetboot command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -105,7 +105,8 @@ sub do_rnetboot {
 | 
			
		||||
        $cmd.= " -o";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (  exists( $opt->{hfi} )) {
 | 
			
		||||
    my %client_nethash = xCAT::DBobjUtils->getNetwkInfo( [$node] );
 | 
			
		||||
    if ( grep /hf/, $client_nethash{$node}{mgtifname} ) {
 | 
			
		||||
        $cmd.= " -t hfi-ent";
 | 
			
		||||
    } else {
 | 
			
		||||
        $cmd.= " -t ent";
 | 
			
		||||
@@ -218,10 +219,6 @@ sub rnetboot {
 | 
			
		||||
        $opt{o} = $options->{o};
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if ( exists( $options->{hfi} )) {
 | 
			
		||||
        $opt{hfi} = 1;
 | 
			
		||||
    }
 | 
			
		||||
     
 | 
			
		||||
    #####################################
 | 
			
		||||
    # Invalid target hardware 
 | 
			
		||||
    #####################################
 | 
			
		||||
 
 | 
			
		||||
@@ -43,7 +43,7 @@ sub parse_args {
 | 
			
		||||
    $Getopt::Long::ignorecase = 0;
 | 
			
		||||
    Getopt::Long::Configure( "bundling" );
 | 
			
		||||
 | 
			
		||||
    if ( !GetOptions( \%opt, qw(h|help V|Verbose v|version I|iscsiboot F f hfi o s=s m:s@ r=s t=s) )) { 
 | 
			
		||||
    if ( !GetOptions( \%opt, qw(h|help V|Verbose v|version I|iscsiboot F f o s=s m:s@ r=s t=s) )) { 
 | 
			
		||||
        return( usage() );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -244,7 +244,8 @@ sub do_rnetboot {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (  exists( $opt->{hfi} )) {
 | 
			
		||||
        my %client_nethash = xCAT::DBobjUtils->getNetwkInfo( [$node] );
 | 
			
		||||
        if ( grep /hf/, $client_nethash{$node}{mgtifname} ) {
 | 
			
		||||
            $cmd.= " -t hfi-ent";
 | 
			
		||||
        } else {
 | 
			
		||||
            $cmd.= " -t ent";
 | 
			
		||||
@@ -361,11 +362,6 @@ sub rnetboot {
 | 
			
		||||
        $opt{o} = $options->{o};
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if ( exists( $options->{hfi} )) {
 | 
			
		||||
        $opt{hfi} = 1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    #####################################
 | 
			
		||||
    # Do iscsi boot
 | 
			
		||||
    #####################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user