diff options
author | Nijin Ashok <nashok@redhat.com> | 2016-10-30 17:56:45 +0530 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2016-11-07 20:00:53 -0500 |
commit | fb334c042a56a726cd256fa50c4dca86fc9a945f (patch) | |
tree | 564e6774f2512f01495101f0f67918bb3995db3b /cloud/ovirt | |
parent | 8cb27b22f82febc7b27a426e6a72e57c8b807039 (diff) | |
download | ansible-modules-extras-fb334c042a56a726cd256fa50c4dca86fc9a945f.tar.gz |
Fix issue in activating the VM disk while attaching disk
Currently <active> tag is passed within the disk element which is
incorrect. As a result, disk will remain inactive even though the
default option is true.
Diffstat (limited to 'cloud/ovirt')
-rw-r--r-- | cloud/ovirt/ovirt_vms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/ovirt/ovirt_vms.py b/cloud/ovirt/ovirt_vms.py index 0652b24c..0cda1f62 100644 --- a/cloud/ovirt/ovirt_vms.py +++ b/cloud/ovirt/ovirt_vms.py @@ -532,8 +532,8 @@ class VmsModule(BaseModule): otypes.DiskAttachment( disk=otypes.Disk( id=disk_id, - active=disk.get('activate', True), ), + active=disk.get('activate', True), interface=otypes.DiskInterface( disk.get('interface', 'virtio') ), |