summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.py b/config.py
index e53b66a..07ee819 100644
--- a/config.py
+++ b/config.py
@@ -16,6 +16,7 @@
'''Baserock system-test configuration.'''
import os
+import socket
# The test host must have passwordless access to this machine. The tests set
# set StrictHostKeyChecking=no for SSH connections so it does not need to be in
@@ -23,6 +24,9 @@ import os
DEPLOY_URL = 'kvm+ssh://sam@landfill.ducie.codethink.co.uk/'
DEPLOY_PATH = '/home/VIRT-IMAGES/'
+# This is the hostname and VM name of the machine that gets deployed.
+DEPLOY_NAME = 'brtests-%s' % (socket.gethostname())
+
# Seconds to wait for machine to appear on network before assuming it didn't
# boot or connect to network successfully.
BOOT_TIMEOUT=20