ostree-config/build/lorax-templates/lorax-configure-repo.tmpl
2023-02-28 13:48:28 -05:00

8 lines
606 B
Cheetah

<%page args="default_ref, remote_url"/>
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=rockylinux --remote=rockylinux --url=file:///ostree/repo --ref=${default_ref}"
append usr/share/anaconda/interactive-defaults.ks "firewall --use-system-defaults"
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail"
append usr/share/anaconda/interactive-defaults.ks "ostree remote delete rockylinux"
append usr/share/anaconda/interactive-defaults.ks "ostree remote add --no-gpg-verify rockylinux ${remote_url}"
append usr/share/anaconda/interactive-defaults.ks "%end"