Added support for rnetboot - Line #569

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2007-12-19 20:37:52 +00:00
parent a69ec2f2c8
commit d1ad43b174

View File

@ -573,9 +573,9 @@ sub lpar_netboot {
my $name = shift;
my $d = shift;
my $opt = shift;
my $mac = shift;
my $timeout = 300;
my $cmd = "lpar_netboot -t ent -f";
my $mac;
#####################################
# Verbose output
@ -592,7 +592,8 @@ sub lpar_netboot {
#####################################
# Get MAC-address or network boot
#####################################
$cmd.= (defined( $mac )) ? " -m $mac" : " -M -n";
$mac = $opt->{m};
$cmd.= ( defined( $mac )) ? " -m $mac" : " -M -n";
#####################################
# Command only supported on LPARs