#39 [F30] Don't let anaconda delete remote ref for fedora.conf ostree remote
Merged 5 years ago by mohanboddu. Opened 5 years ago by sinnykumari.
sinnykumari/fedora-lorax-templates f30  into  f30

@@ -16,8 +16,8 @@ 

  append usr/share/anaconda/interactive-defaults.ks "firewall --use-system-defaults"

  

  append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail"

- append usr/share/anaconda/interactive-defaults.ks "rm -f /etc/ostree/remotes.d/${ostree_osname}.conf"

  %if ostree_osname != "fedora":

+     append usr/share/anaconda/interactive-defaults.ks "rm -f /etc/ostree/remotes.d/${ostree_osname}.conf"

      append usr/share/anaconda/interactive-defaults.ks "ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-${ostree_oskey} --set=contenturl=${ostree_contenturl} ${ostree_osname} '${ostree_update_repo}'"

  %endif

  append usr/share/anaconda/interactive-defaults.ks "cp /etc/skel/.bash* /root"

We are getting fedora.conf remote file from ostree repo. If anaconda
deletes it, we end-up with no fedora.conf ostree remote on user
system after fresh install

Signed-off-by: Sinny Kumari sinny@redhat.com

Pull-Request has been merged by mohanboddu

5 years ago
Metadata