[node-patches] Change in ovirt-node[master]: recipe: Only start rhsmcertd if it's configured
fabiand at redhat.com
fabiand at redhat.com
Thu Oct 8 09:35:49 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: recipe: Only start rhsmcertd if it's configured
......................................................................
recipe: Only start rhsmcertd if it's configured
Change-Id: I66aae829fef3b3e6f4223fb938030624ada2a7fe
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1269752
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/common-post.ks
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/13/47113/1
diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 8f48566..27c7abc 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -298,3 +298,9 @@
echo "Removing nologin tmpfiles rhbz#1261702"
rm -vf /usr/lib/tmpfiles.d/systemd-nologin.conf
+# Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1269752
+mkdir -vp /lib/systemd/system/rhsmcertd.service.d/
+cat > /lib/systemd/system/rhsmcertd.service.d/node.conf <<EOC
+[Unit]
+ConditionPathExists=/etc/sysconfig/rhn/systemid
+EOC
--
To view, visit https://gerrit.ovirt.org/47113
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I66aae829fef3b3e6f4223fb938030624ada2a7fe
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list