mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
Merge pull request #5072 from hu-weihua/ubuntugoxcat
Looks good to me. I agree to merge.
This commit is contained in:
commit
73ba5d8cf5
@ -53,10 +53,9 @@ cmd:xdsh $$CN "rm -rf /tmp/go-xcat.log"
|
||||
cmd:migration_version=`echo $$MIGRATION2_VERSION |cut -d "." -f -2`; xdsh $$CN "cd /; ./go-xcat -x $migration_version -y install"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "cat /tmp/go-xcat.log"
|
||||
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh;lsxcatd -v"
|
||||
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh;lsxcatd -v" |tee /tmp/version
|
||||
check:rc==0
|
||||
cmd:migration_version=`echo $$MIGRATION2_VERSION |cut -d "." -f -2`;cd /;if grep Ubuntu /etc/*release;then cd / ; wget http://xcat.org/files/xcat/repos/apt/$migration_version/xcat-core/buildinfo;else cd / ; wget http://xcat.org/files/xcat/repos/yum/$migration_version/xcat-core/buildinfo; fi
|
||||
cmd:xdsh $$CN "lsxcatd -v" |tee /tmp/version
|
||||
cmd:if [ -e /buildinfo ]; then xcatversion=`grep VERSION /buildinfo |awk -F'=' '{print $2}'`;grep $xcatversion /tmp/version; fi
|
||||
check:rc==0
|
||||
cmd:migration_version=`echo $$MIGRATION2_VERSION |cut -d "." -f -2`;grep $migration_version /tmp/version
|
||||
|
Loading…
x
Reference in New Issue
Block a user