update length limit of username field
(cherry picked from commit e5853e692c4e2b700e799c44f72c6e19d09ea377)
This commit is contained in:
parent
c6acfdb240
commit
2cd1c4f8c4
25
0005-update-length-limit-of-username-field.patch
Normal file
25
0005-update-length-limit-of-username-field.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 4276d15604e0445558009a7c48dce323073cd2d3 Mon Sep 17 00:00:00 2001
|
||||
From: rabbitali <shusheng.wen@outlook.com>
|
||||
Date: Tue, 9 May 2023 11:03:45 +0800
|
||||
Subject: [PATCH] update length limit of username field
|
||||
|
||||
---
|
||||
vulcanus/database/table.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/vulcanus/database/table.py b/vulcanus/database/table.py
|
||||
index 0c8d2c1..23ad889 100644
|
||||
--- a/vulcanus/database/table.py
|
||||
+++ b/vulcanus/database/table.py
|
||||
@@ -56,7 +56,7 @@ class Host(Base, MyBase): # pylint: disable=R0903
|
||||
last_scan = Column(Integer)
|
||||
scene = Column(String(255))
|
||||
os_version = Column(String(40))
|
||||
- ssh_user = Column(String(20), default="root")
|
||||
+ ssh_user = Column(String(40), default="root")
|
||||
ssh_port = Column(Integer(), default=22)
|
||||
pkey = Column(String(2048))
|
||||
status = Column(Integer(), default=2)
|
||||
--
|
||||
Gitee
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: aops-vulcanus
|
||||
Version: v1.2.0
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: A basic tool libraries of aops, including logging, configure and response, etc.
|
||||
License: MulanPSL2
|
||||
URL: https://gitee.com/openeuler/%{name}
|
||||
@ -9,6 +9,8 @@ Patch0001: 0001-fix-script-docker-install-error.patch
|
||||
Patch0002: 0002-add-custom-validation-rules.patch
|
||||
Patch0003: 0003-old-token-is-invalid.patch
|
||||
Patch0004: 0004-add-gevent-config-item-for-uwsgi.patch
|
||||
Patch0005: 0005-update-length-limit-of-username-field.patch
|
||||
|
||||
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3-concurrent-log-handler python3-xmltodict python3-pyyaml python3-marshmallow >= 3.13.0
|
||||
@ -63,6 +65,9 @@ cp -r scripts %{buildroot}/opt/aops/
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue May 9 2023 wenxin<shusheng.wen@outlook.com> - v1.2.0-4
|
||||
- update length limit of username field
|
||||
|
||||
* Mon May 8 2023 gongzhengtang<gong_zhengtang@163.com> - v1.2.0-3
|
||||
- add gevent config item for uwsgi; fix old token is invalid
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user