From 363a8c6845c2633f05e5994eeca783b842b24926 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 5 Feb 2019 15:59:29 +0100 Subject: [PATCH] Use the fedora-release-container package to get the release version Signed-off-by: Clement Verna --- fedora-container-common.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-container-common.ks b/fedora-container-common.ks index e6679f1..b92e7f5 100644 --- a/fedora-container-common.ks +++ b/fedora-container-common.ks @@ -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