mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-22 22:15:30 +00:00
Remove trailing spaces in file xCAT-server/share/xcat/tools/dhcpop
This commit is contained in:
@ -33,14 +33,14 @@ if($help){
|
||||
print "Error: no 'omapi' entry defined in passwd table!";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
|
||||
my $omshell;
|
||||
open($omshell, "|/usr/bin/omshell >/dev/null");
|
||||
print $omshell "key "
|
||||
. $id . " \""
|
||||
. $passwd . "\"\n";
|
||||
print $omshell "connect\n";
|
||||
|
||||
|
||||
if($hostname){
|
||||
print $omshell "new host\n";
|
||||
print $omshell
|
||||
@ -49,7 +49,7 @@ if($help){
|
||||
print $omshell "remove\n";
|
||||
print $omshell "close\n";
|
||||
}
|
||||
|
||||
|
||||
if ($mac)
|
||||
{
|
||||
print $omshell "new host\n";
|
||||
@ -59,7 +59,7 @@ if($help){
|
||||
print $omshell "remove\n";
|
||||
print $omshell "close\n";
|
||||
}
|
||||
|
||||
|
||||
if($ip){
|
||||
print $omshell "new host\n";
|
||||
print $omshell
|
||||
|
Reference in New Issue
Block a user