[node-patches] Change in ovirt-node[master]: check for sblim-sfcb package before adding cim account rhbz#...

jboggs at redhat.com jboggs at redhat.com
Wed Jan 16 01:33:37 UTC 2013


Joey Boggs has uploaded a new change for review.

Change subject: check for sblim-sfcb package before adding cim account rhbz#894070
......................................................................

check for sblim-sfcb package before adding cim account
rhbz#894070

Change-Id: I8dd9f59d653a075a668ee82b0d7862a5e4b25876
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M recipe/common-post.ks
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/72/11072/1

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index c995c82..88dc00a 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -245,8 +245,11 @@
 #CIM related changes
 # set read-only
 echo "readonly = true;" > /etc/libvirt-cim.conf
+if rpm -q sblim-sfcb
+then
 groupadd cim
 useradd -g cim -G sfcb -s /sbin/nologin cim
+fi
 
 # disable yum repos by default
 augtool << \EOF_yum


--
To view, visit http://gerrit.ovirt.org/11072
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8dd9f59d653a075a668ee82b0d7862a5e4b25876
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list