add sudo support in xdsh and updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
87b66d84bf
commit
1c9b9ff780
@ -106,10 +106,15 @@ if ($::HELP)
|
||||
&updatenode_usage();
|
||||
exit 0;
|
||||
}
|
||||
# disable -l option for now
|
||||
if ($::USER)
|
||||
if (($::USER) && ($::SECURITY))
|
||||
{
|
||||
my $msg = "-l option is not currently supported.";
|
||||
my $msg = "-l option is not allowed with -k option.";
|
||||
xCAT::MsgUtils->message("E", $msg);
|
||||
exit 1;
|
||||
}
|
||||
if (($::USER) && (($::FILESYNC) || ($::SNFILESYNC)))
|
||||
{
|
||||
my $msg = "-l option is not allowed with -F or -f options.";
|
||||
xCAT::MsgUtils->message("E", $msg);
|
||||
exit 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user