2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Merge pull request #6973 from gurevichmark/squashfs_install

Testcase install of squashfs for Oracle Linux
This commit is contained in:
besawn 2021-05-12 12:49:22 -04:00 committed by GitHub
commit 0f85a48f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,8 +156,8 @@ cmd:lsdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netb
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
#Make sure squashfs-tools rpm is installed on RHEL
cmd:if [[ "$$OS" =~ "rhel" ]]; then yum install -y squashfs-tools; fi
#Make sure squashfs-tools rpm is installed on RHEL and OL
cmd:if [[ "$$OS" =~ "rhel" || "$$OS" =~ "ol" ]]; then yum install -y squashfs-tools; fi
#Make sure squashfs-tools rpm is installed on Ubuntu
cmd:if [[ "$$OS" =~ "ubuntu" ]]; then apt-get install -y squashfs-tools; fi