summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-08-08 14:15:02 (GMT)
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-19 15:49:03 (GMT)
commit3e0f8d32ffaec34fddc7feedd7ec1ea2fe1bac94 (patch)
treeb0f399ce7d136ed77658063d4b0fe93fe5c5478b /scripts
parent823575a89085aedcb20b95d31005d19edb10e776 (diff)
downloaddefinitions-3e0f8d32ffaec34fddc7feedd7ec1ea2fe1bac94.tar.gz
Rename Instance -> DeployedSystemInstance
This name requires less context to understand its use.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release-test5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/release-test b/scripts/release-test
index 1939a0d..5ea82fa 100755
--- a/scripts/release-test
+++ b/scripts/release-test
@@ -97,7 +97,7 @@ class VMHost(object):
self.runcmd(['virsh', '-c', 'qemu:///system'] + list(args), **kwargs)
-class Instance(object):
+class DeployedSystemInstance(object):
def __init__(self, deployment, config, host_machine, vm_id, rootfs_path):
self.deployment = deployment
@@ -250,7 +250,8 @@ class Deployment(object):
config = dict(self.deployment_config)
config.update(options)
- return Instance(self, config, self.host_machine, vm_id, rootpath)
+ return DeployedSystemInstance(self, config, self.host_machine,
+ vm_id, rootpath)
finally:
shutil.rmtree(tempdir)