atomic: use basearch in ostreesetup line

This will help enable us to use the same kickstart file for multiple
architectures. Enabling work was in the pull requests listed below:

https://github.com/projectatomic/rpm-ostree/pull/877
https://github.com/rhinstaller/anaconda/pull/1186
This commit is contained in:
Dusty Mabe 2017-09-19 11:47:21 -04:00
parent 09243c1a40
commit c3095c82ba
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671

View File

@ -41,7 +41,7 @@ logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks
# Pull from the ostree repo that was created during the compose
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/ --ref=fedora/rawhide/x86_64/atomic-host
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/ --ref=fedora/rawhide/${basearch}/atomic-host
reboot