-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:
jbjohnso 2009-03-28 05:27:28 +00:00
parent 4bef85fd54
commit d866132dcb

View File

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