diff options
author | Chris Lalancette <clalance@redhat.com> | 2009-01-13 13:39:09 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-01-13 13:39:09 +0100 |
commit | ae08e8520ed12734899af1ab0d5172201dee178a (patch) | |
tree | 0aa504617936cc5e0635e79dc7b825e0251988bd | |
parent | 33325fde1aca728e683a92e46ea8a2241feed274 (diff) | |
download | anaconda-ae08e8520ed12734899af1ab0d5172201dee178a.tar.gz anaconda-ae08e8520ed12734899af1ab0d5172201dee178a.tar.xz anaconda-ae08e8520ed12734899af1ab0d5172201dee178a.zip |
Sort virtio devices first (#479134)
Sort virtio devices first (#479134)
-rw-r--r-- | isys/isys.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py index 8b5e38207..47ef56750 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -551,6 +551,8 @@ def compareDrives(first, second): type1 = 0 elif type1 == "sd": type1 = 1 + elif type1 == "vd": + type1 = -1 else: type1 = 2 @@ -558,6 +560,8 @@ def compareDrives(first, second): type2 = 0 elif type2 == "sd": type2 = 1 + elif type2 == "vd": + type2 = -1 else: type2 = 2 |