diff --git a/atomic-installer/lorax-embed-repo.tmpl b/atomic-installer/lorax-embed-repo.tmpl new file mode 100644 index 0000000..97dd768 --- /dev/null +++ b/atomic-installer/lorax-embed-repo.tmpl @@ -0,0 +1,10 @@ +## 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"