From 776ba2064e91f9ddd7452a91040446dabf5da334 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-docker-common.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-docker-common.ks b/fedora-docker-common.ks index 8554881..4b4fdf4 100644 --- a/fedora-docker-common.ks +++ b/fedora-docker-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