Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 296352 Details for
Bug 435451
Remove the unused --target option from kickstart
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
iscsi-target-node.patch
iscsi-target-node.patch (text/plain), 2.21 KB, created by
James Laska
on 2008-02-29 14:12:39 UTC
(
hide
)
Description:
iscsi-target-node.patch
Filename:
MIME Type:
Creator:
James Laska
Created:
2008-02-29 14:12:39 UTC
Size:
2.21 KB
patch
obsolete
>diff --git a/iscsi.py b/iscsi.py >index d23f198..35923ce 100644 >--- a/iscsi.py >+++ b/iscsi.py >@@ -60,7 +60,7 @@ def has_iscsi(): > return True > > class iscsiTarget: >- def __init__(self, ipaddr, port = None, user = None, pw = None): >+ def __init__(self, ipaddr, port = None, user = None, pw = None, node = None): > # FIXME: validate ipaddr > self.ipaddr = ipaddr > if not port: # FIXME: hack hack hack >@@ -70,6 +70,8 @@ class iscsiTarget: > self.password = pw > self._portal = None > self._nodes = [] >+ if node: >+ self._nodes.append(node) > > find_iscsi_files() > >@@ -348,7 +350,7 @@ class iscsi(object): > default = self.loginToDefaultDrive() > if not default is None: > (node, ipaddr, port) = default >- t = iscsiTarget(ipaddr, port, None, None) >+ t = iscsiTarget(ipaddr, port, None, None, None) > # this actually creates the entries. > t.discover() > # and this sets them to auto-start >@@ -363,14 +365,14 @@ class iscsi(object): > w.pop() > > def addTarget(self, ipaddr, port = "3260", user = None, pw = None, >- intf = None): >+ intf = None, node = None): > if not self.iscsidStarted: > self.startup(intf) > if not self.iscsidStarted: > # can't start for some reason.... just fallback I guess > return > >- t = iscsiTarget(ipaddr, port, user, pw) >+ t = iscsiTarget(ipaddr, port, user, pw, node) > if not t.discover(): > return > if not t.login(): >diff --git a/kickstart.py b/kickstart.py >index 3c18853..d136991 100644 >--- a/kickstart.py >+++ b/kickstart.py >@@ -180,7 +180,7 @@ class AnacondaKSHandlers(KickstartHandlers): > KickstartHandlers.doIscsi(self, args) > > for target in self.ksdata.iscsi: >- if self.id.iscsi.addTarget(target.ipaddr, target.port, target.user, target.password): >+ if self.id.iscsi.addTarget(target.ipaddr, target.port, target.user, target.password, target.target): > log.info("added iscsi target: %s" %(target.ipaddr,)) > > # FIXME: flush the drive dict so we figure drives out again
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 435451
:
296352
|
296401