From f6e1f59f3e472698dcd09a4fdce1f606b5b3b29c Mon Sep 17 00:00:00 2001 From: penguhyang Date: Mon, 9 Nov 2015 03:58:20 -0500 Subject: [PATCH] correct the message to make the output looks neat --- xCAT-client/bin/updatenode | 2 +- xCAT-client/bin/xdsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/updatenode b/xCAT-client/bin/updatenode index 957a2c5cc..7519ca8b1 100755 --- a/xCAT-client/bin/updatenode +++ b/xCAT-client/bin/updatenode @@ -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 = ); diff --git a/xCAT-client/bin/xdsh b/xCAT-client/bin/xdsh index a026544c5..7c1d5e98f 100644 --- a/xCAT-client/bin/xdsh +++ b/xCAT-client/bin/xdsh @@ -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 = );