Alon Bar-Lev has uploaded a new change for review.

Change subject: host-deploy: allow customizing temp directory
......................................................................

host-deploy: allow customizing temp directory

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1100584
Change-Id: I01999a601780790e28c5c02e0d9eee53d4fc1aa5
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/80/28680/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
index 21b8a6c..cd43afe 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
@@ -1079,7 +1079,7 @@
     @TypeConverterAttribute(String.class)
     @DefaultValueAttribute(
         "umask 0077; " +
-        "MYTMP=\"$(mktemp -t ovirt-XXXXXXXXXX)\"; " +
+        "MYTMP=\"$(TMPDIR=\"${OVIRT_TMPDIR}\" mktemp -t ovirt-XXXXXXXXXX)\"; " 
+
         "trap \"chmod -R u+rwX \\\"${MYTMP}\\\" > /dev/null 2>&1; rm -fr 
\\\"${MYTMP}\\\" > /dev/null 2>&1\" 0; " +
         "rm -fr \"${MYTMP}\" && " +
         "mkdir \"${MYTMP}\" && " +


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I01999a601780790e28c5c02e0d9eee53d4fc1aa5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to