mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Merge pull request #387 from penguhyang/updatenode_k
correct the message to make the updatenode -k output looks neat
This commit is contained in:
commit
dfd6475c00
@ -165,7 +165,7 @@ if ($SECURITY) {
|
||||
# prompt for the password for the userid on the node that will be setup
|
||||
my $userpw;
|
||||
$msg =
|
||||
"Enter the password for the userid: $to_userid on the node where the ssh keys \nwill be updated:\n";
|
||||
"The ssh keys will be updated for '$to_userid' on the node(s).\nPassword:";
|
||||
xCAT::MsgUtils->message("I", $msg);
|
||||
system("stty -echo"); # turn off keyboard
|
||||
chop($userpw = <STDIN>);
|
||||
|
@ -405,7 +405,7 @@ sub parse_args_xdsh
|
||||
# prompt for the password for the userid on the node that will be setup
|
||||
my $userpw;
|
||||
$msg =
|
||||
"Enter the password for the userid: $to_userid on the node where the ssh keys \nwill be updated:\n";
|
||||
"The ssh keys will be updated for '$to_userid' on the node(s).\nPassword:";
|
||||
xCAT::MsgUtils->message("I", $msg);
|
||||
system("stty -echo"); # turn off keyboard
|
||||
chop($userpw = <STDIN>);
|
||||
|
Loading…
x
Reference in New Issue
Block a user