2
0
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:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 2124252630
commit b05b8bcd27

View File

@ -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