1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-08 09:24:22 +00:00
fedora-kickstarts/atomic-installer/lorax-embed-repo.tmpl
2015-03-16 13:46:24 -04:00

11 lines
482 B
Cheetah

## Lorax template to embed ostree repo into installer
<%page args="root, ostree_osname, ostree_repo, ostree_ref"/>
mkdir install/ostree
runcmd ostree --repo=${root}/install/ostree init --mode=archive-z2
runcmd ostree --repo=${root}/install/ostree pull-local --disable-fsync ${ostree_repo} ${ostree_ref}
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:///install/ostree --ref=${ostree_ref}\n"