Oved Ourfali has uploaded a new change for review. Change subject: host-deploy: simplify remote bootstarp command ......................................................................
host-deploy: simplify remote bootstarp command + add -t parameter dropped in I9c780005a4. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1195672 Change-Id: I0c3260f61b0acbd914d587a59e610a9d627227b3 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> (cherry picked from commit 6c3a6f38eb56eeaec746820556a5e90596089f28) --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java 1 file changed, 1 insertion(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/60/38160/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 0b19ce0..977aa58 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 @@ -1177,10 +1177,8 @@ @TypeConverterAttribute(String.class) @DefaultValueAttribute( "umask 0077; " + - "MYTMP=\"$(TMPDIR=\"${OVIRT_TMPDIR}\" mktemp -t ovirt-XXXXXXXXXX)\"; " + + "MYTMP=\"$(TMPDIR=\"${OVIRT_TMPDIR}\" mktemp -d -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}\" && " + "tar --warning=no-timestamp -C \"${MYTMP}\" -x && " + "@ENVIRONMENT@ \"${MYTMP}\"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True" ) -- To view, visit https://gerrit.ovirt.org/38160 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0c3260f61b0acbd914d587a59e610a9d627227b3 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5.2 Gerrit-Owner: Oved Ourfali <oourf...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches