Name ostree remote repo fedora-atomic across platforms

This commit is contained in:
Dalton Hubble 2018-04-15 17:04:04 -07:00
parent b3cf9508b6
commit cf22e70b46
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ mkdir /var/cloud-init
curl --retry 10 "${matchbox_http_endpoint}/generic?mac=${mac}&os=installed" -o /var/cloud-init/user-data curl --retry 10 "${matchbox_http_endpoint}/generic?mac=${mac}&os=installed" -o /var/cloud-init/user-data
echo "instance-id: iid-local01" > /var/cloud-init/meta-data echo "instance-id: iid-local01" > /var/cloud-init/meta-data
rm -f /etc/ostree/remotes.d/fedora-atomic-27.conf rm -f /etc/ostree/remotes.d/fedora-atomic.conf
ostree remote add fedora-atomic-27 https://kojipkgs.fedoraproject.org/atomic/27 --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-primary ostree remote add fedora-atomic https://kojipkgs.fedoraproject.org/atomic/27 --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-primary
# lock root user # lock root user
passwd -l root passwd -l root