!165 [bug fix]update register template file

From: @rabbitali 
Reviewed-by: @Lostwayzxc 
Signed-off-by: @Lostwayzxc
This commit is contained in:
openeuler-ci-bot 2024-06-17 07:30:30 +00:00 committed by Gitee
commit d4c1987b22
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From f6cc88528868c646292f7b4d238e848b70d9246a Mon Sep 17 00:00:00 2001
From: rabbitali <wenxin32@foxmail.com>
Date: Wed, 5 Jun 2024 19:30:03 +0800
Subject: [PATCH 1/1] update register template file
---
conf/register_example.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/register_example.json b/conf/register_example.json
index 4fcd642..60bcbc4 100644
--- a/conf/register_example.json
+++ b/conf/register_example.json
@@ -7,5 +7,6 @@
"host_group_name": "aops",
"management": false,
"ssh_port":22,
- "access_token": "token-string"
+ "access_token": "token-string",
+ "ssh_pkey":""
}
\ No newline at end of file
--
2.33.0

View File

@ -2,7 +2,7 @@
Name: aops-ceres
Version: v1.4.1
Release: 6
Release: 7
Summary: An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on.
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
@ -18,6 +18,7 @@ Patch0002: 0002-support-restore-grubby-if-kabi-check-failed.patch
Patch0003: 0003-remove-installed-rpm-if-unreboot-and-improve-log-for-rollback.patch
Patch0004: 0004-fix-cve-2021-33633.patch
Patch0005: 0005-override-list-file-method.patch
Patch0006: 0006-update-register-template-file.patch
%description
@ -91,6 +92,9 @@ install -b -m500 ./extra-tools/da-tool/script/da-tool.sh ${RPM_BUILD_ROOT}
%attr(0500, root, root) %{_bindir}/da-tool-analysis
%changelog
* Wed Jun 05 2024 wenxin<wenxin32@foxmail.com> - v1.4.1-7
- update register template file
* Wed Feb 07 2024 wenxin<wenxin32@foxmail.com> - v1.4.1-6
- override list file method