fix build of makedhcp command so that it really calls using the -l flag

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-10-27 12:32:16 +00:00
parent b2193d25b7
commit 2392736aea

View File

@ -645,7 +645,7 @@ sub setup_DHCP
$cmdref->{command}->[0] = "makedhcp";
$cmdref->{arg}->[0] = "-l";
$cmdref->{cwd}->[0] = "/opt/xcat/sbin";
$cmdref->{arg}->[0] = "-n";
$cmdref->{arg}->[1] = "-n";
no strict "refs";
my $modname = "dhcp";
${"xCAT_plugin::" . $modname . "::"}{process_request}
@ -660,7 +660,7 @@ sub setup_DHCP
$cmdref->{command}->[0] = "makedhcp";
$cmdref->{arg}->[0] = "-l";
$cmdref->{cwd}->[0] = "/opt/xcat/sbin";
$cmdref->{arg}->[0] = "-a";
$cmdref->{arg}->[1] = "-a";
my $modname = "dhcp";
${"xCAT_plugin::" . $modname . "::"}{process_request}