1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

use squashfs-only when not rhel

This commit is contained in:
Jason N. 2024-04-09 15:20:14 -04:00
parent 40e0d375b2
commit 8c15653a75
4 changed files with 8 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<%page args="image_repo, _image_repo_double_escaped, image_name, image_tag, _rhel, version"/>
if (which bootc &> /dev/null) && [ ${_rhel} == 'false' && ${version} -ge 39 ]
if (which bootc &> /dev/null) && [ "${_rhel}" != 'true' && ${version} -ge 39 ]
then
bootc switch --mutate-in-place --enforce-container-sigpolicy --transport registry ${image_repo}/${image_name}:${image_tag}
else