mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Allow caching of dnf (#46)
This commit is contained in:
parent
bfa150ceeb
commit
c3dfff5c5b
13 changed files with 166 additions and 32 deletions
3
lorax_templates/cache_copy_dnf.tmpl
Normal file
3
lorax_templates/cache_copy_dnf.tmpl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<%page args="dnf_cache"/>
|
||||
|
||||
runcmd bash -c "if [[ -e ${dnf_cache}_new ]]; then cp -R ${dnf_cache}/* ${dnf_cache}_new/; fi"
|
||||
4
lorax_templates/install_set_installer.tmpl
Normal file
4
lorax_templates/install_set_installer.tmpl
Normal file
|
|
@ -0,0 +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"
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<%page args="enrollment_password "/>
|
||||
<%page args="enrollment_password"/>
|
||||
## --nochroot
|
||||
|
||||
set -oue pipefail
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --url=/run/install/repo/${IMAGE_NAME}-${IMAGE_TAG} --transport=oci --no-signature-verification"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue