diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-03-07 01:43:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-07 01:43:41 +0000 |
commit | 7c3c3d2a629f5bf5373d21780963a143d45e6067 (patch) | |
tree | d6e0ff4b16ff8ca04271ea2312bdcdef91fa14b2 /deploy/check_os_progress.sh | |
parent | d222c03bc58c79d918001773639d0f81a57c86a8 (diff) | |
parent | dd3335128617003db15e46378ed0baf7941c369c (diff) |
Merge "fix some bug of bm deploy"
Diffstat (limited to 'deploy/check_os_progress.sh')
-rwxr-xr-x | deploy/check_os_progress.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/check_os_progress.sh b/deploy/check_os_progress.sh index c631a713..b7b05700 100755 --- a/deploy/check_os_progress.sh +++ b/deploy/check_os_progress.sh @@ -36,10 +36,17 @@ done source /root/daisyrc_admin cluster_id=`daisy cluster-list | awk -F "|" '{print $2}' | sed -n '4p'` +hosts_id=`daisy host-list | awk -F "|" '{print $2}'| grep -o "[^ ]\+\( \+[^ ]\+\)*"|tail -n +2` skip=false if [ $deploy_env == 0 ];then skip=true + 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 + done fi +echo "update all hosts ipmi user and passwd ok!" echo "run daisy install command" daisy install $cluster_id --skip-pxe-ipmi $skip |