diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-03-17 16:34:06 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-03-17 19:08:38 +0100 |
commit | 2a6e841778c7b75fa09e8396d0ad9777b0a6c0e0 (patch) | |
tree | c475b636b70a609a91638410ab8e0491aa24ccf5 /isys | |
parent | feba2676ea103d9c8ab0a89b26d213e7f17deaab (diff) | |
download | anaconda-2a6e841778c7b75fa09e8396d0ad9777b0a6c0e0.tar.gz anaconda-2a6e841778c7b75fa09e8396d0ad9777b0a6c0e0.tar.xz anaconda-2a6e841778c7b75fa09e8396d0ad9777b0a6c0e0.zip |
Get iscsi going with the new storage code
This patch gets iscsi going with the new storage code. There are still
a few hicups left (such as NetworkManager downing the interface our / is on),
but I'll address those in separate patches.
Diffstat (limited to 'isys')
-rwxr-xr-x | isys/isys.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/isys/isys.py b/isys/isys.py index 07c69a0a1..ee1866686 100755 --- a/isys/isys.py +++ b/isys/isys.py @@ -465,15 +465,6 @@ def driveUsesModule(device, modules): pass return rc -def driveIsIscsi(device): - # ewww. just ewww. - if not os.path.islink("/sys/block/%s/device" %(device,)): - return False - target = os.path.realpath("/sys/block/%s/device" %(device,)) - if re.search("/platform/host[0-9]*/session[0-9]*/target[0-9]*:[0-9]*:[0-9]*/[0-9]*:[0-9]*:[0-9]*:[0-9]*", target) is not None: - return True - return False - def vtActivate (num): if rhpl.getArch() == "s390": return |