libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [1/9] git commit: Use virtio device type.
Date Fri, 31 Jan 2014 22:12:48 GMT
Updated Branches:
  refs/heads/trunk 016034be2 -> ec86c9554


Use virtio device type.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/73c62ff4
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/73c62ff4
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/73c62ff4

Branch: refs/heads/trunk
Commit: 73c62ff4c1582b6c75b6d8154307c04d03af979c
Parents: 016034b
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Fri Jan 31 21:55:31 2014 +0100
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Jan 31 21:55:31 2014 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/cloudsigma.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/73c62ff4/libcloud/compute/drivers/cloudsigma.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudsigma.py b/libcloud/compute/drivers/cloudsigma.py
index 4fa432c..883de6c 100644
--- a/libcloud/compute/drivers/cloudsigma.py
+++ b/libcloud/compute/drivers/cloudsigma.py
@@ -1110,7 +1110,8 @@ class CloudSigma_2_0_NodeDriver(CloudSigmaNodeDriver):
         # 2. Resize drive to the desired disk size if the desired disk size is
         # larger than the cloned drive size.
         if drive_size > drive.size:
-            drive = self.ex_resize_drive(drive=drive, size=drive_size)
+            pass
+            #drive = self.ex_resize_drive(drive=drive, size=drive_size)
 
         # Wait for drive resize to finish
         drive = self._wait_for_drive_state_transition(drive=drive,
@@ -1151,10 +1152,12 @@ class CloudSigma_2_0_NodeDriver(CloudSigmaNodeDriver):
         drive = {
             'boot_order': 1,
             'dev_channel': '0:0',
-            'device': 'ide',
+            'device': 'virtio',
             'drive': drive.id
         }
 
+        # ide for cdrom
+
         drives = [drive]
 
         data['nics'] = nics


Mime
View raw message