From d866132dcbf1974388b26b1b39c2efbea9486b9e Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sat, 28 Mar 2009 05:27:28 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/AAsn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 604064a89..3b420014b 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -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";