diff options
Diffstat (limited to 'deploy/check_os_progress.sh')
-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 |