summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-03-09 19:51:57 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-03-09 19:51:57 +0800
commit76c9548fcf239257b1cccf4057bf7b1268c53a49 (patch)
treebe08701534830a91198acc5bce1932ef46b3bc9c
parentad7a882c71c0ed779b2111f400ac6b8bd108e4c5 (diff)
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 <yangyang1@zte.com.cn>
-rwxr-xr-xdeploy/check_os_progress.sh12
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