atomic-installer: Update scripts

These are now based on
https://github.com/rhinstaller/lorax/pull/8
This commit is contained in:
Colin Walters
2015-03-19 16:50:41 -04:00
parent 9fa38d0117
commit d7d0e5ad95
2 changed files with 16 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
## 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"