mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
11 lines
No EOL
945 B
Cheetah
11 lines
No EOL
945 B
Cheetah
<%page args="ostree_osname, ostree_install_repo, ostree_update_repo, ostree_install_ref, ostree_update_ref, ostree_oskey"/>
|
|
|
|
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:///ostree/repo --ref=${ostree_update_ref}"
|
|
append usr/share/anaconda/interactive-defaults.ks "firewall --use-system-defaults"
|
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail"
|
|
%if ostree_osname != "fedora":
|
|
append usr/share/anaconda/interactive-defaults.ks "rm -f /etc/ostree/remotes.d/${ostree_osname}.conf"
|
|
append usr/share/anaconda/interactive-defaults.ks "ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/ --set=contenturl=${ostree_contenturl} ${ostree_osname} '${ostree_update_repo}'"
|
|
%endif
|
|
append usr/share/anaconda/interactive-defaults.ks "cp /etc/skel/.bash* /root"
|
|
append usr/share/anaconda/interactive-defaults.ks "%end" |