FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-18-2010, 04:50 PM
Hans de Goede
 
Default around ipv6 addr on the dracut cmdline (#605300)

---
pyanaconda/storage/devices.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 8d09b94..6b110ca 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -3427,6 +3427,11 @@ class iScsiDiskDevice(DiskDevice, NetworkStorageDevice):
if self.ibft:
return "iscsi_firmware"

+ address = self.node.address
+ # surround ipv6 addresses with []
+ if ":" in address:
+ address = "[%s]" % address
+
netroot="netroot=iscsi:"
auth = self.node.getAuth()
if auth:
@@ -3435,8 +3440,7 @@ class iScsiDiskDevice(DiskDevice, NetworkStorageDevice):
netroot += ":%s:%s" % (auth.reverse_username,
auth.reverse_password)

- netroot += "@%s::%d::%s" % (self.node.address, self.node.port,
- self.node.name)
+ netroot += "@%s::%d::%s" % (address, self.node.port, self.node.name)

netroot += " iscsi_initiator=%s" % self.initiator

--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-18-2010, 05:14 PM
Chris Lumens
 
Default around ipv6 addr on the dracut cmdline (#605300)

> pyanaconda/storage/devices.py | 8 ++++++--
> 1 files changed, 6 insertions(+), 2 deletions(-)

Okay.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 02:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org