mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 12:20:40 +00:00
Revise go_xcat_noinput test case, by install package gpg on Ubuntu compute node
This commit is contained in:
@ -6,6 +6,8 @@ cmd:if grep Ubuntu /etc/*release;then xdsh $$CN "dpkg -l |grep -i perl-xcat";els
|
||||
check:rc!=0
|
||||
cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yum install -y yum-utils bzip2"; fi
|
||||
check:rc==0
|
||||
cmd:if grep Ubuntu /etc/*release;then xdsh $$CN "apt-get install -y gpg"; fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "cd /; rm -rf /go-xcat"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "cd /; scp -r $$MN:/opt/xcat/share/xcat/tools/go-xcat ./"
|
||||
|
Reference in New Issue
Block a user