[bugfix]invalid user ‘jenkins’ 87/37787/2
authorzhihui wu <wu.zhihui1@zte.com.cn>
Wed, 19 Jul 2017 14:26:28 +0000 (22:26 +0800)
committerzhihui wu <wu.zhihui1@zte.com.cn>
Wed, 19 Jul 2017 14:58:07 +0000 (14:58 +0000)
commit5c3b0e9a51e3486ae660685a3c33aed0e39c5ab2
treec37ea763b532d07bc1159c2e10e4e3fbacbe8d85
parentb0600fd02696e49ce9b5e8baf646914aae70092d
[bugfix]invalid user ‘jenkins’

See https://build.opnfv.org/ci/job/fuel-deploy-zte-pod1-daily-master/456/console
In lib.sh, generate_ssh_key() assumes that "jenkins" is
the current user name. But on zte-pod1, the ci user name
isn't jenkins. It is better to use $USER replaced "jenkins".

JIRA:FUEL-273

Change-Id: I6ec6847eccd055b8b4062dd202f8f0a24ba6dd73
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
mcp/scripts/lib.sh