Fixed the issue that --makedhcp option is not working in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5e5f2d5ac8
commit
8e4f81a2b3
@ -1906,9 +1906,7 @@ sub do_makedhcp {
|
||||
$string = "Adding following nodes to dhcp server: \n$node\n";
|
||||
send_msg( $request, 0, $string );
|
||||
|
||||
my $outref = [];
|
||||
@$outref = `makedhcp $node 2>&1`;
|
||||
my $line = join("\n", @$outref);
|
||||
my $line = `/opt/xcat/sbin/makedhcp $node 2>&1`;
|
||||
send_msg( $request, 0, $line);
|
||||
|
||||
send_msg( $request, 0, "\nMakedhcp finished.\n" );
|
||||
|
Loading…
Reference in New Issue
Block a user