← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:fix/cii-kvmimage-preserve-original into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:fix/cii-kvmimage-preserve-original into cloud-init:master has been updated.

Commit Message changed to:

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 but the snapshot stick around.

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'

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/334147
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:fix/cii-kvmimage-preserve-original into cloud-init:master.


References