2020-11-04 22:15:53 +00:00
|
|
|
From 8312003a6a9e41d8d20eb8225ec8c4b2860351ec Mon Sep 17 00:00:00 2001
|
2020-10-15 11:47:25 +00:00
|
|
|
From: Chris Leech <cleech@redhat.com>
|
|
|
|
Date: Mon, 19 Nov 2012 16:40:04 -0800
|
|
|
|
Subject: [PATCH] use red hat for name
|
|
|
|
|
|
|
|
---
|
|
|
|
doc/iscsi-iname.8 | 2 +-
|
|
|
|
utils/iscsi-iname.c | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/doc/iscsi-iname.8 b/doc/iscsi-iname.8
|
|
|
|
index 6a413f6..dd77ed9 100644
|
|
|
|
--- a/doc/iscsi-iname.8
|
|
|
|
+++ b/doc/iscsi-iname.8
|
|
|
|
@@ -14,7 +14,7 @@ generates a unique iSCSI node name on every invocation.
|
|
|
|
Display help
|
|
|
|
.TP
|
|
|
|
.BI [-p=]\fIprefix\fP
|
|
|
|
-Use the prefix passed in instead of the default "iqn.2016-04.com.open-iscsi"
|
|
|
|
+Use the prefix passed in instead of the default "iqn.1994-05.com.redhat"
|
|
|
|
|
|
|
|
.SH AUTHORS
|
|
|
|
Open-iSCSI project <http://www.open-iscsi.com/>
|
|
|
|
diff --git a/utils/iscsi-iname.c b/utils/iscsi-iname.c
|
2020-11-04 22:15:53 +00:00
|
|
|
index 0f587e1..0e15650 100644
|
2020-10-15 11:47:25 +00:00
|
|
|
--- a/utils/iscsi-iname.c
|
|
|
|
+++ b/utils/iscsi-iname.c
|
2020-11-04 22:15:53 +00:00
|
|
|
@@ -89,7 +89,7 @@ main(int argc, char *argv[])
|
2020-10-15 11:47:25 +00:00
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
- prefix = "iqn.2016-04.com.open-iscsi";
|
|
|
|
+ prefix = "iqn.1994-05.com.redhat";
|
|
|
|
}
|
|
|
|
|
|
|
|
/* try to feed some entropy from the pool to MD5 in order to get
|
|
|
|
--
|
2020-11-04 22:15:53 +00:00
|
|
|
2.26.2
|
2020-10-15 11:47:25 +00:00
|
|
|
|