aboutsummaryrefslogtreecommitdiff
path: root/src/zenhorde/hordeprovisioner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhorde/hordeprovisioner.cpp')
-rw-r--r--src/zenhorde/hordeprovisioner.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/zenhorde/hordeprovisioner.cpp b/src/zenhorde/hordeprovisioner.cpp
index 5ad9d46d0..52f6630e6 100644
--- a/src/zenhorde/hordeprovisioner.cpp
+++ b/src/zenhorde/hordeprovisioner.cpp
@@ -602,14 +602,10 @@ HordeProvisioner::ThreadAgent(AgentWrapper& Wrapper)
// Build command line for remote zenserver
std::vector<std::string> ArgStrings;
- ArgStrings.push_back("compute");
- ArgStrings.push_back("--http=asio");
-
- // TEMP HACK - these should be made fully dynamic
- // these are currently here to allow spawning the compute agent locally
- // for debugging purposes (i.e with a local Horde Server+Agent setup)
+ ArgStrings.emplace_back("compute");
+ ArgStrings.emplace_back("--http=asio");
ArgStrings.push_back(fmt::format("--port={}", m_Config.ZenServicePort));
- ArgStrings.push_back("--data-dir=c:\\temp\\123");
+ ArgStrings.emplace_back("--data-dir=%UE_HORDE_SHARED_DIR%\\zen");
if (!m_OrchestratorEndpoint.empty())
{