Hello Lev Veyde,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/32302
to review the following change.
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 <[email protected]>
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/02/32302/1
diff --git a/ovirt-iso-uploader.spec.in b/ovirt-iso-uploader.spec.in
index e6ca496..861d7c0 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/32302
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: ovirt-iso-uploader-3.5
Gerrit-Owner: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Lev Veyde <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches