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

move to /container

This commit is contained in:
Jason N. 2024-05-01 09:55:23 -04:00
parent 22e22d2bde
commit abd3d0bc52
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
<%page args="image_name, image_tag"/> <%page args="image_name, image_tag"/>
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --url=/run/install/repo/${image_name}-${image_tag} --transport=oci --no-signature-verification" append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --url=/run/install/repo/container --transport=oci --no-signature-verification"

View file

@ -43,11 +43,11 @@ then
echo "-chmod 0444 /sb_pubkey.der" echo "-chmod 0444 /sb_pubkey.der"
fi fi
pushd "${PWD}/../container" > /dev/null pushd "${PWD}/../container/${IMAGE_NAME}-${IMAGE_TAG}" > /dev/null
for file in $(find "${IMAGE_NAME}-${IMAGE_TAG}" -type f) for file in $(find)
do do
echo "-map ${PWD}/${file} ${file}" echo "-map ${PWD}/${file} container/${file}"
echo "-chmod 0444 ${file}" echo "-chmod 0444 container/${file}"
done done
popd > /dev/null popd > /dev/null
echo "-end" echo "-end"