mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 01:56:39 +00:00
Merge pull request #6985 from gurevichmark/sles_migration_zypper2
Use correct substring operator in migration testcase
This commit is contained in:
commit
b0e869fee3
@ -189,7 +189,7 @@ check:rc==0
|
||||
cmd:xdsh $$CN "zypper -n install xCAT"
|
||||
check:rc==0
|
||||
# Name of createrepo package on sles15 is different from sles12
|
||||
cmd:if [ "__GETNODEATTR($$CN,os)__" = "sle15" ]; then xdsh $$CN "zypper -n install createrepo_c"; else xdsh $$CN "zypper -n install createrepo";fi
|
||||
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sle15" ]]; then xdsh $$CN "zypper -n install createrepo_c"; else xdsh $$CN "zypper -n install createrepo";fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh"
|
||||
check:rc==0
|
||||
|
Loading…
x
Reference in New Issue
Block a user