diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-03-10 08:46:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-10 08:46:02 +0000 |
commit | e637a54831c631558dba961107e694e9353dbb43 (patch) | |
tree | 073f3ca8a776f6bedc6f0733a3b246bd232caa2b | |
parent | 208f8e2530de8689bde6178d203f9bbe68de8b5c (diff) | |
parent | 76c9548fcf239257b1cccf4057bf7b1268c53a49 (diff) |
Merge "Fix ipmi info updating in OS installation"
-rwxr-xr-x | deploy/check_os_progress.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/deploy/check_os_progress.sh b/deploy/check_os_progress.sh index b7b05700..30226844 100755 --- a/deploy/check_os_progress.sh +++ b/deploy/check_os_progress.sh @@ -40,13 +40,19 @@ hosts_id=`daisy host-list | awk -F "|" '{print $2}'| grep -o "[^ ]\+\( \+[^ ]\+\ skip=false if [ $deploy_env == 0 ];then skip=true + for host_id in $hosts_id + do + echo "detail info of host $host_id:" + daisy host-detail $host_id + done +else for host_id in $hosts_id; do - echo "update host $host_id ipmi user and passwd" - daisy host-update $host_id --ipmi-user zteroot --ipmi-passwd superuser + echo "update host $host_id ipmi user and passwd" + daisy host-update $host_id --ipmi-user zteroot --ipmi-passwd superuser done + echo "update all hosts ipmi user and passwd ok!" fi -echo "update all hosts ipmi user and passwd ok!" echo "run daisy install command" daisy install $cluster_id --skip-pxe-ipmi $skip |