[node-patches] Change in ovirt-node[ovirt-3.6]: recipe: Also update the CPE in os-release
fabiand at redhat.com
fabiand at redhat.com
Mon Sep 14 14:23:20 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: recipe: Also update the CPE in os-release
......................................................................
recipe: Also update the CPE in os-release
The CPE string is now also in os-release, for consistency we need to update it there as well.
Change-Id: I5341f03bf1a1c2d92c00e7b90d5ff9bd4a4a7014
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1251864
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/rhevh7-post.ks
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/03/46103/1
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 7ee3bd1..925b100 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -107,6 +107,7 @@
cat > /etc/system-release-cpe <<EOF_CPE
cpe:/o:redhat:enterprise_linux:${MAJORVER}:update${MINORVER}:hypervisor${TYPE}
EOF_CPE
+sed -i "/^CPE_NAME=/ s#.*#CPE_NAME=\"$(cat /etc/system-release-cpe)\"#" /etc/os-release
echo "Configuring IPTables"
# here, we need to punch the appropriate holes in the firewall
--
To view, visit https://gerrit.ovirt.org/46103
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5341f03bf1a1c2d92c00e7b90d5ff9bd4a4a7014
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list