mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-01 02:47:46 +00:00
feat: install_secureblue rebases to signed image if used on secureblue (#629)
This commit is contained in:
@@ -76,6 +76,10 @@ image_name+="$additional_params-hardened"
|
||||
|
||||
rebase_command="rpm-ostree rebase ostree-unverified-registry:ghcr.io/secureblue/$image_name:latest"
|
||||
|
||||
if [ -n "$(rpm-ostree status | grep '● ostree-image-signed:docker://ghcr.io/secureblue/')" ] ; then
|
||||
rebase_command="rpm-ostree rebase ostree-image-signed:docker://ghcr.io/secureblue/$image_name:latest"
|
||||
fi
|
||||
|
||||
echo "Commands to execute:"
|
||||
echo "$rebase_command"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user