From 61c04b35e1cea37f06c8c610427a5cde2cc390ec Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 10 Jan 2013 13:18:27 +0000 Subject: [PATCH] -l -S options not supported on AIX git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 5e2185e70..1c857d0e4 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -1879,6 +1879,12 @@ sub doAIXcopy { %attrvals = %{$av}; } + if (defined($::USER)){ # not supported on AIX + my $rsp; + $rsp->{error}->[0] = " The -l option is not supported on AIX"; + xCAT::MsgUtils->message("E", $rsp, $callback);; + return 1; + } # get the NIM primary server name my $nimprime = xCAT::InstUtils->getnimprime();