mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
move to /container
This commit is contained in:
parent
22e22d2bde
commit
abd3d0bc52
2 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<%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"
|
||||
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ then
|
|||
echo "-chmod 0444 /sb_pubkey.der"
|
||||
fi
|
||||
|
||||
pushd "${PWD}/../container" > /dev/null
|
||||
for file in $(find "${IMAGE_NAME}-${IMAGE_TAG}" -type f)
|
||||
pushd "${PWD}/../container/${IMAGE_NAME}-${IMAGE_TAG}" > /dev/null
|
||||
for file in $(find)
|
||||
do
|
||||
echo "-map ${PWD}/${file} ${file}"
|
||||
echo "-chmod 0444 ${file}"
|
||||
echo "-map ${PWD}/${file} container/${file}"
|
||||
echo "-chmod 0444 container/${file}"
|
||||
done
|
||||
popd > /dev/null
|
||||
echo "-end"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue