-AAsn correctly told where to find plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4bef85fd54
commit
d866132dcb
@ -67,7 +67,6 @@ sub handled_commands
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
my $plugins_dir=$::XCATROOT.'/lib/perl/xCAT_plugin';
|
||||
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
{
|
||||
@ -966,6 +965,7 @@ sub setup_TFTP
|
||||
$cmdref->{command}->[0] = "nodeset";
|
||||
$cmdref->{arg}->[0] = "enact";
|
||||
$cmdref->{cwd}->[0] = "/opt/xcat/sbin";
|
||||
my $plugins_dir=$::XCATROOT.'/lib/perl/xCAT_plugin';
|
||||
foreach my $modname (keys %netmethods) {
|
||||
$cmdref->{node} = $netmethods{$modname};
|
||||
require "$plugins_dir/$modname.pm";
|
||||
|
Loading…
Reference in New Issue
Block a user