2
0
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:
Victor Hu 2015-11-23 13:04:52 -05:00
commit dfd6475c00
2 changed files with 2 additions and 2 deletions

View File

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

View File

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