mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00:00
Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
e168b190c6
commit
363a8c6845
@ -63,7 +63,7 @@ echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||
|
||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||
|
Loading…
Reference in New Issue
Block a user