mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 12:20:40 +00:00
Merge pull request #6649 from gurevichmark/go-xcat-ubuntu-testcase2
Replace sources.list file for go-xcat testcase on Ubuntu
This commit is contained in:
@ -25,6 +25,9 @@ cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yu
|
||||
#Install additional packages on Ubuntu
|
||||
cmd:if xdsh $$CN "grep \"Ubuntu\" /etc/*release >/dev/null"; then xdsh $$CN "DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg"; fi
|
||||
|
||||
#Replace sources.list file on Ubuntu
|
||||
cmd:if grep Ubuntu /etc/*release;then code=`lsb_release -sc` && xdsh $$CN "scp -r $$MN:/opt/xcat/share/xcat/tools/autotest/testcase/go_xcat/$code-__GETNODEATTR($$CN,arch)__.sources.list /etc/apt/sources.list"; fi
|
||||
|
||||
#Install devel version of xCAT
|
||||
cmd:xdsh $$CN "cd /; ./go-xcat --xcat-version=devel -y install"
|
||||
check:rc==0
|
||||
@ -64,6 +67,9 @@ cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yu
|
||||
#Install additional packages on Ubuntu
|
||||
cmd:if xdsh $$CN "grep \"Ubuntu\" /etc/*release >/dev/null"; then xdsh $$CN "DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg"; fi
|
||||
|
||||
#Replace sources.list file on Ubuntu
|
||||
cmd:if grep Ubuntu /etc/*release;then code=`lsb_release -sc` && xdsh $$CN "scp -r $$MN:/opt/xcat/share/xcat/tools/autotest/testcase/go_xcat/$code-__GETNODEATTR($$CN,arch)__.sources.list /etc/apt/sources.list"; fi
|
||||
|
||||
#Install GA version of xCAT
|
||||
cmd:xdsh $$CN "cd /; ./go-xcat -y install"
|
||||
check:rc==0
|
||||
@ -103,6 +109,9 @@ cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yu
|
||||
#Install additional packages on Ubuntu
|
||||
cmd:if xdsh $$CN "grep \"Ubuntu\" /etc/*release >/dev/null"; then xdsh $$CN "DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg"; fi
|
||||
|
||||
#Replace sources.list file on Ubuntu
|
||||
cmd:if grep Ubuntu /etc/*release;then code=`lsb_release -sc` && xdsh $$CN "scp -r $$MN:/opt/xcat/share/xcat/tools/autotest/testcase/go_xcat/$code-__GETNODEATTR($$CN,arch)__.sources.list /etc/apt/sources.list"; fi
|
||||
|
||||
#Install GA version of xCAT
|
||||
cmd:xdsh $$CN "cd /; ./go-xcat -y install"
|
||||
check:rc==0
|
||||
@ -152,6 +161,9 @@ cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yu
|
||||
#Install additional packages on Ubuntu
|
||||
cmd:if xdsh $$CN "grep \"Ubuntu\" /etc/*release >/dev/null"; then xdsh $$CN "DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg"; fi
|
||||
|
||||
#Replace sources.list file on Ubuntu
|
||||
cmd:if grep Ubuntu /etc/*release;then code=`lsb_release -sc` && xdsh $$CN "scp -r $$MN:/opt/xcat/share/xcat/tools/autotest/testcase/go_xcat/$code-__GETNODEATTR($$CN,arch)__.sources.list /etc/apt/sources.list"; fi
|
||||
|
||||
#Install GA version of xCAT
|
||||
cmd:xdsh $$CN "cd /; ./go-xcat -y install"
|
||||
check:rc==0
|
||||
|
Reference in New Issue
Block a user