2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-23 06:25:38 +00:00

correct the message to make the output looks neat

This commit is contained in:
penguhyang
2015-11-09 03:58:20 -05:00
parent 459cfe59fe
commit f6e1f59f3e
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,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>);