diff --git a/src/test/clmctest/scripts/test_config_telegraf.py b/src/test/clmctest/scripts/test_config_telegraf.py
index ca23772481d256e5b3974319c649ee3becbe1240..c85b508c7e09910b2f760e9f43bc3d2b56be6065 100644
--- a/src/test/clmctest/scripts/test_config_telegraf.py
+++ b/src/test/clmctest/scripts/test_config_telegraf.py
@@ -29,6 +29,7 @@ import subprocess
 
 def test_write_telegraf_conf():
     # test telegraf monitoring configuration
+    TARGET_ROOT = "/opt/clmc"
     TELEGRAF_CONF_DIR = "/etc/telegraf"
     LOCATION = "DC1"
     SFC_ID = "media_service_A"
@@ -49,21 +50,21 @@ def test_write_telegraf_conf():
     assert code == 0, "Failed to create telegraf include dir : " + str(code) + ", cmd=" + cmd
 
     # run write config template script with no telegraf.d directory
-    cmd = 'sudo cp /vagrant/scripts/clmc-agent/telegraf.conf /etc/telegraf/'
+    cmd = 'sudo cp ' + TARGET_ROOT + '/scripts/clmc-agent/telegraf.conf /etc/telegraf/'
     (out, err, code) = run_command(cmd)
     assert code == 0, "Failed to copy telegraf.conf : " + str(code) + ", cmd=" + cmd
 
-    cmd = 'sudo cp /vagrant/scripts/clmc-agent/telegraf_output.conf /etc/telegraf/telegraf.d/'
+    cmd = 'sudo cp ' + TARGET_ROOT + '/scripts/clmc-agent/telegraf_output.conf /etc/telegraf/telegraf.d/'
     (out, err, code) = run_command(cmd)
     assert code == 0, "Failed to copy telegraf_output.conf : " + str(code) + ", cmd=" + cmd
 
     # run template relacement script with incorrect arguments
-    cmd = 'sudo /vagrant/scripts/clmc-agent/configure.sh'
+    cmd = 'sudo ' + TARGET_ROOT + '/scripts/clmc-agent/configure.sh'
     (out, err, code) = run_command(cmd)
     assert code == 1, "Failed to return error on incorrect arguments : " + str(code) + ", cmd=" + cmd
 
     # run template relacement script with all arguments
-    cmd = 'sudo /vagrant/scripts/clmc-agent/configure.sh ' + LOCATION + ' ' + SFC_ID + ' ' + SFC_INSTANCE_ID + ' ' + SF_PACKAGE_ID + ' ' + SF_ID + ' ' + SF_ENDPOINT_ID + ' ' + INFLUXDB_URL
+    cmd = 'sudo ' + TARGET_ROOT + '/scripts/clmc-agent/configure.sh ' + LOCATION + ' ' + SFC_ID + ' ' + SFC_INSTANCE_ID + ' ' + SF_PACKAGE_ID + ' ' + SF_ID + ' ' + SF_ENDPOINT_ID + ' ' + INFLUXDB_URL
     (out, err, code) = run_command(cmd)
     assert code == 0, "Configure command returned error, output=" + str(out) + ", cmd=" + cmd