diff --git a/atomic-installer/lorax-configure-repo.tmpl b/atomic-installer/lorax-configure-repo.tmpl deleted file mode 100644 index 9ad94dc..0000000 --- a/atomic-installer/lorax-configure-repo.tmpl +++ /dev/null @@ -1,8 +0,0 @@ -## 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\nostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n" - diff --git a/atomic-installer/lorax-embed-repo.tmpl b/atomic-installer/lorax-embed-repo.tmpl deleted file mode 100644 index 3ab0c33..0000000 --- a/atomic-installer/lorax-embed-repo.tmpl +++ /dev/null @@ -1,11 +0,0 @@ -## Lorax template to embed an OSTree repository into the installer.iso -## and configure an interactive installer use to look for it. -## -## Note that we pull with depth=0 to only get *one* commit into the -## ISO, because we obviously don't want the full history. - -<%page args="workdir, ostree_osname, ostree_repo, ostree_ref"/> -runcmd mkdir -p ${workdir}/iso-graft/content/repo -runcmd ostree --repo=${workdir}/iso-graft/content/repo init --mode=archive-z2 -runcmd ostree --repo=${workdir}/iso-graft/content/repo remote add ostree-mirror --set=gpg-verify=false ${ostree_repo} -runcmd ostree --repo=${workdir}/iso-graft/content/repo pull --mirror ostree-mirror ${ostree_ref}