From 50b9f68b960360eab065b63d6660b1f70f227c13 Mon Sep 17 00:00:00 2001
From: pengyeqing <pengyeqing@huawei.com>
Date: Sat, 26 Jan 2019 22:09:24 +0800
Subject: [PATCH] iscsi-initiator-utils: change iscsi iqn default value

reason:change iscsi iqn default value

Signed-off-by: pengyeqing <pengyeqing@huawei.com>
---
 doc/iscsi-iname.8   | 4 ++--
 utils/iscsi-iname.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/iscsi-iname.8 b/doc/iscsi-iname.8
index 6a413f6..34c47b4 100644
--- a/doc/iscsi-iname.8
+++ b/doc/iscsi-iname.8
@@ -14,8 +14,8 @@ 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.2012-01.com.openeuler"
+ 
 .SH AUTHORS
 Open-iSCSI project <http://www.open-iscsi.com/>
 .br
diff --git a/utils/iscsi-iname.c b/utils/iscsi-iname.c
index da850dc..08161f4 100644
--- a/utils/iscsi-iname.c
+++ b/utils/iscsi-iname.c
@@ -80,7 +80,7 @@ main(int argc, char *argv[])
 			exit(0);
 		}
 	} else {
-		prefix = "iqn.2016-04.com.open-iscsi";
+		prefix = "iqn.2012-01.com.openeuler";
 	}
 
 	/* try to feed some entropy from the pool to MD5 in order to get
-- 
1.8.3.1

