Created
May 24, 2012 21:46
-
-
Save bodepd/2784421 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ LOG.info("Attaching device with virsh because attachDevice does not work") | |
+ device_path = connection_info['data']['device_path'] | |
+ utils.execute('virsh', "attach-disk", instance_name, device_path, mount_device, run_as_root=True) | |
- virt_dom.attachDevice(xml) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment