From 3e190c3b0f41f948c73cd2710849657b6cdcdb26 Mon Sep 17 00:00:00 2001
From: nhertz <nhertz@nrao.edu>
Date: Tue, 9 Nov 2021 15:32:43 -0700
Subject: [PATCH] Added config setting that will allow local jobs to run with
 the custom file transfer plugin

---
 config/htcondor/99-workspaces.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/config/htcondor/99-workspaces.conf b/config/htcondor/99-workspaces.conf
index 37040d4cb..d7ed4e830 100644
--- a/config/htcondor/99-workspaces.conf
+++ b/config/htcondor/99-workspaces.conf
@@ -15,7 +15,11 @@ SEC_DEFAULT_NEGOTIATION=NEVER
 
 # Add flag to ensure our lustre-needing workflows can run on our cluster
 HASLUSTRE = True
-STARTD_ATTRS = $(STARTD_ATTRS) HASLUSTRE
+STARTD_ATTRS = $(STARTD_ATTRS) HASLUSTRE NRAO_TRANSFER_HOST
+
+# Add flag to ensure the file transfer plugin behaves with our local setup
+NRAO_TRANSFER_HOST = "LOCAL"
+STARTD_ATTRS = $(STARTD_ATTRS) NRAO_TRANSFER_HOST
 
 # Plugins
 FILETRANSFER_PLUGINS = $(FILETRANSFER_PLUGINS), /usr/libexec/condor/nraorsync_plugin.py
-- 
GitLab