# HG changeset patch
# User "Cole Robinson <crobinso@redhat.com>"
# Date 1224696223 14400
# Node ID 729ce5453a5877db0cb79b6bcfd18cc649028498
# Parent 2c657c53ef1add11627f259477463e422ae0774f
Disk type is 'dos' not 'msdos'
diff -r 2c657c53ef1a -r 729ce5453a58 virtinst/Storage.py
--- a/virtinst/Storage.py Tue Oct 21 10:18:07 2008 -0400
+++ b/virtinst/Storage.py Wed Oct 22 13:23:43 2008 -0400
@@ -579,7 +579,7 @@
source_path = property(StoragePool.get_source_path,
StoragePool.set_source_path)
- formats = [ "auto", "bsd", "msdos", "dvh", "gpt", "mac", "pc98", "sun" ]
+ formats = [ "auto", "bsd", "dos", "dvh", "gpt", "mac", "pc98", "sun" ]
def get_volume_class():
return DiskVolume
# HG changeset patch
# User "Cole Robinson <crobinso@redhat.com>"
# Date 1224700636 14400
# Node ID 70b32f9b4d74cdec2aad4eeb43c196dfb6c6bdde
# Parent 729ce5453a5877db0cb79b6bcfd18cc649028498
Actually return pool object after DiskPool install.
diff -r 729ce5453a58 -r 70b32f9b4d74 virtinst/Storage.py
--- a/virtinst/Storage.py Wed Oct 22 13:23:43 2008 -0400
+++ b/virtinst/Storage.py Wed Oct 22 14:37:16 2008 -0400
@@ -624,7 +624,8 @@
if self.format == "auto" and build:
raise ValueError(_("Must explicitly specify disk format if "
"formatting disk device."))
- StoragePool.install(self, meter=meter, create=create, build=build)
+ return StoragePool.install(self, meter=meter, create=create,
+ build=build)
class iSCSIPool(StoragePool):
"""