mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-02 19:40:10 +00:00
Merge pull request #6683 from gurevichmark/squashfs_testcase2
Make sure squashfs-tools installed on Ubuntu for squashfs testcase
This commit is contained in:
commit
9f6a9d3830
@ -129,6 +129,10 @@ cmd:cat /tmp/mountoutput/file.new
|
||||
cmd:diff /tmp/mountoutput/file.org /tmp/mountoutput/file.new --ignore-matching-lines="fusectl"
|
||||
check:rc==0
|
||||
cmd:rm -rf /tmp/mountoutput
|
||||
|
||||
#Make sure squashfs-tools rpm is installed on Ubuntu
|
||||
cmd:if [ "$$OS" = "ubuntu" ];then apt-get install -y squashfs-tools; fi
|
||||
|
||||
cmd:packimage -m squashfs __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
check:rc==0
|
||||
check:output=~archive method:squashfs
|
||||
|
@ -152,7 +152,11 @@ cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu16.04.5" ]] && [[ "__GETNODEATTR(
|
||||
cmd:lsdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
check:rc==0
|
||||
cmd:packimage -m squashfs__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
|
||||
#Make sure squashfs-tools rpm is installed on Ubuntu
|
||||
cmd:if [ "$$OS" = "ubuntu" ];then apt-get install -y squashfs-tools; fi
|
||||
|
||||
cmd:packimage -m squashfs __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
check:rc==0
|
||||
check:output=~archive method:squashfs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user