[Fedora-spins] [spin-kickstarts] atomic-installer: Set the default origin

Colin Walters walters at fedoraproject.org
Thu Apr 23 15:46:23 UTC 2015


commit a5726d984b5477803f0b71c7c79a796bb36849b8
Author: Colin Walters <walters at verbum.org>
Date:   Thu Apr 9 16:46:28 2015 -0400

    atomic-installer: Set the default origin
    
    Matching what we do in the cloud image, we also need to set the
    default URL for updates.
    
    Reported-by: Dennis Gilmore <dennis at ausil.us>

 atomic-installer/lorax-configure-repo.tmpl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atomic-installer/lorax-configure-repo.tmpl b/atomic-installer/lorax-configure-repo.tmpl
index 7c79612..d9f9803 100644
--- a/atomic-installer/lorax-configure-repo.tmpl
+++ b/atomic-installer/lorax-configure-repo.tmpl
@@ -4,5 +4,5 @@
 <%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"
+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"
 


More information about the spins mailing list