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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-17-2009, 08:22 AM
Hans de Goede
 
Default PATCH: Change-default-iscsi-initiator-name.patch

Change default iscsi initiator name

From mchristie:
max was the name of my computer when iscsi-iname.c was written. And
when anaconda iscsi install was done I think Jeremy has copied that.
Then we fixed the naming in iscsi-iname, but anaconda never got fixed.
---
iscsi.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iscsi.py b/iscsi.py
index f6643db..214a9c8 100644
--- a/iscsi.py
+++ b/iscsi.py
@@ -103,7 +103,7 @@ def iscsi_make_node_autostart(disk):
def randomIname():
"""Generate a random initiator name the same way as iscsi-iname"""

- s = "iqn.2005-03.com.max:01."
+ s = "iqn.1994-05.com.fedora:01."
m = md5.md5()
u = os.uname()
for i in u:

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-17-2009, 04:41 PM
Joel Granados
 
Default PATCH: Change-default-iscsi-initiator-name.patch

look good
On Tue, Feb 17, 2009 at 10:22:57AM +0100, Hans de Goede wrote:
> Change default iscsi initiator name
>
> From mchristie:
> max was the name of my computer when iscsi-iname.c was written. And
> when anaconda iscsi install was done I think Jeremy has copied that.
> Then we fixed the naming in iscsi-iname, but anaconda never got fixed.
> ---
> iscsi.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/iscsi.py b/iscsi.py
> index f6643db..214a9c8 100644
> --- a/iscsi.py
> +++ b/iscsi.py
> @@ -103,7 +103,7 @@ def iscsi_make_node_autostart(disk):
> def randomIname():
> """Generate a random initiator name the same way as iscsi-iname"""
>
> - s = "iqn.2005-03.com.max:01."
> + s = "iqn.1994-05.com.fedora:01."
> m = md5.md5()
> u = os.uname()
> for i in u:
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--
Joel Andres Granados
Brno, Czech Republic, Red Hat.

_______________________________________________
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 12:07 AM.

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