From 76c9548fcf239257b1cccf4057bf7b1268c53a49 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Thu, 9 Mar 2017 19:51:57 +0800 Subject: Fix ipmi info updating in OS installation 1. No need for virtual deploy to update ipmi info 2. Print host details in virtual deploy Change-Id: Ie1f16f869440191458c7f672fc3cea2393b76245 Signed-off-by: Alex Yang --- deploy/check_os_progress.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'deploy/check_os_progress.sh') 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 -- cgit 1.2.3-korg