Lev Veyde has uploaded a new change for review.

Change subject: ovirt-iso-uploader: Add creation of KVM group
......................................................................

ovirt-iso-uploader: Add creation of KVM group

Change-Id: I70e2a776059e735d7f50a4961bd99e33566cf163
Signed-off-by: Lev Veyde <lve...@redhat.com>
Bug-Url: https://bugzilla.redhat.com/1129382
---
M ovirt-iso-uploader.spec.in
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-iso-uploader 
refs/changes/95/32295/1

diff --git a/ovirt-iso-uploader.spec.in b/ovirt-iso-uploader.spec.in
index fc45f18..09bb759 100644
--- a/ovirt-iso-uploader.spec.in
+++ b/ovirt-iso-uploader.spec.in
@@ -52,6 +52,8 @@
 make %{?_smp_mflags}
 
 %pre
+getent group %{vdsm_group} >/dev/null || \
+       LC_ALL=C groupadd -g 36 -r %{vdsm_group}
 getent passwd %{vdsm_user} >/dev/null || \
        LC_ALL=C useradd -r -u 36 -g %{vdsm_group} -d / \
                -s /sbin/nologin -c "Node Virtualization Manager" %{vdsm_user}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70e2a776059e735d7f50a4961bd99e33566cf163
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-iso-uploader
Gerrit-Branch: master
Gerrit-Owner: Lev Veyde <lve...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to