1 Star 0 Fork 15

杨显钊/iscsi-initiator-utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0007-use-anolis-for-name.patch 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
geliwei 提交于 2021-01-29 09:45 . rebrand: use anolis for iqn name
From 1ddee25396962a6bd966b98311881ed6d4cba87c Fri Jan 29 00:00:00 2021
From: Liwei Ge <geliwei@openanolis.org>
Date: Fri, 29 Jan 2021 16:40:04 -0800
Subject: [PATCH] use anolis 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.2020-08.org.openanolis"
.SH AUTHORS
Open-iSCSI project <http://www.open-iscsi.com/>
diff --git a/utils/iscsi-iname.c b/utils/iscsi-iname.c
index 0f587e1..0e15650 100644
--- a/utils/iscsi-iname.c
+++ b/utils/iscsi-iname.c
@@ -89,7 +89,7 @@ main(int argc, char *argv[])
exit(0);
}
} else {
- prefix = "iqn.2016-04.com.open-iscsi";
+ prefix = "iqn.2020-08.org.openanolis";
}
/* try to feed some entropy from the pool to MD5 in order to get
--
2.26.2
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xzyangha/iscsi-initiator-utils.git
git@gitee.com:xzyangha/iscsi-initiator-utils.git
xzyangha
iscsi-initiator-utils
iscsi-initiator-utils
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385