summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_cloudstack.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-11-29 15:26:38 -0500
committerScott Moser <smoser@brickies.net>2017-11-29 15:26:38 -0500
commit88368f9851b29dddb5a12e4b21868cbdef906c5c (patch)
treebc82164948ace765b43dd2edbc7054331de2c7ca /tests/unittests/test_datasource/test_cloudstack.py
parent4964fb38f11c15ed119ff4c7f4379ae3c8785a9a (diff)
downloadvyos-cloud-init-88368f9851b29dddb5a12e4b21868cbdef906c5c.tar.gz
vyos-cloud-init-88368f9851b29dddb5a12e4b21868cbdef906c5c.zip
tests: NoCloudKVMImage do not modify the original local cache image.
The NoCloudKVMImage.execute() would modify the image in /srv/citest that meant that after the first time you ran a test, the image was dirty. The change here is to make the image operate on a qcow backed image. Also modify Snapshot to then copy the qcow rather than creating another chained qcow. The reason being that the image might go away or change after the snapshot has been returned. Also * drop use of 'override_templates' which was only relevant to LXD. * NoCloudKVM.create_image() returned an instance before now it has create_instance which creates an instance. * NoCloudKVMInstance has a 'disk' attribute separate from 'name'
Diffstat (limited to 'tests/unittests/test_datasource/test_cloudstack.py')
0 files changed, 0 insertions, 0 deletions