2015-03-19 20:50:41 +00:00
|
|
|
## 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"
|
2015-04-09 20:46:28 +00:00
|
|
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"
|
2015-03-19 20:50:41 +00:00
|
|
|
|