summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/tiptorrent.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/tiptorrent.py b/src/utils/tiptorrent.py
index 7392725..88225cf 100644
--- a/src/utils/tiptorrent.py
+++ b/src/utils/tiptorrent.py
@@ -16,6 +16,7 @@ from src.log import OgError
from src.utils.cache import *
from src.utils.fs import compute_md5
+TIPTORRENT_BIN='/opt/opengnsys/bin/tiptorrent-client'
def tip_fetch_csum(tip_addr, image_name):
"""
@@ -101,7 +102,7 @@ def tip_client_get(tip_addr, image_name):
logging.info(f'Fetching image {image_name}.img from tiptorrent server at {tip_addr}')
logging.info('*DO NOT REBOOT OR POWEROFF* the client during this time')
- cmd = f'tiptorrent-client {tip_addr} {image_name}.img'
+ cmd = f'{TIPTORRENT_BIN} {tip_addr} {image_name}.img'
logfile = open('/tmp/command.log', 'wb', 0)
try: