mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-09 09:54:21 +00:00
0840fc1394
These are now based on https://github.com/rhinstaller/lorax/pull/8
9 lines
580 B
Cheetah
9 lines
580 B
Cheetah
## Lorax template to configure Anaconda to use the local OSTree
|
|
## repository on disk.
|
|
|
|
<%page args="ostree_osname, ostree_ref"/>
|
|
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
|
|
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
|
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\n%end\n"
|
|
|