RHEL 5 Installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i added a line in "self.anaconda.id.iscsi.addtarget(ip,port)"  at the start of  "function PartitionTypeWindow.__call__"  in file "lib/anaconda/textw/partition_text.py"  which does the iSCSI Discovery and outputs the Target Name in tty5 properly.

But the "Partitioning Type" dialog which is displayed does not contain any Drives .  If we refresh this dialog  by pressing "Back"  button and then coming to the same window, i can see the "sda" device.

Do i need to add some other statement after the line what i add?

my code looks like:

Class PartitionTypeWindow:
     
          def __call__:
                    import iscsi
                    ip= 192.168.0.2
                    port=3260
                    if not self.anaconda.id.iscsi.initiatorSet
                    self.anaconda.id.iscsi.initiator=                                                                                                                          " iqn.2007-01.com.rfc.jf.test"
                    self.anaconda.id.iscsi.addtaget(ip,port)

                    while(1)
                           ......The Same code as it is in the file................
                           ..............................................................................
                           ..............................................................................

~Cheers
Prasanna

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux