diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-02-19 11:35:20 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-02-19 11:39:56 +0000 |
commit | d0f2985ff1546f4d223fb4c52cf8bc297a19af03 (patch) | |
tree | 6481b226d1d9e95f314054e6769f09fc6ef4abbd /config.py | |
parent | 2f8e5403cd21d18e14eedf124bd2270516dcac61 (diff) | |
download | system-tests-d0f2985ff1546f4d223fb4c52cf8bc297a19af03.tar.gz |
Remove vm_name parameter and set it as config.DEPLOY_NAME instead
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |