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:
parent
40e0d375b2
commit
8c15653a75
4 changed files with 8 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue