!153 remove unused patch
From: @tong_1001 Reviewed-by: @gaoruoshu Signed-off-by: @gaoruoshu
This commit is contained in:
commit
3d59ce1609
@ -1,6 +1,6 @@
|
|||||||
Name: cloud-init
|
Name: cloud-init
|
||||||
Version: 23.2.2
|
Version: 23.2.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: the defacto multi-distribution package that handles early initialization of a cloud instance.
|
Summary: the defacto multi-distribution package that handles early initialization of a cloud instance.
|
||||||
License: ASL 2.0 or GPLv3
|
License: ASL 2.0 or GPLv3
|
||||||
URL: http://launchpad.net/cloud-init
|
URL: http://launchpad.net/cloud-init
|
||||||
@ -119,6 +119,12 @@ fi
|
|||||||
%exclude /usr/share/doc/*
|
%exclude /usr/share/doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 07 2023 shixuantong <shixuantong1@huawei.com> - 23.2.2-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove unused patch
|
||||||
|
|
||||||
* Thu Aug 03 2023 shixuantong <shixuantong1@huawei.com> - 23.2.2-1
|
* Thu Aug 03 2023 shixuantong <shixuantong1@huawei.com> - 23.2.2-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -1,25 +0,0 @@
|
|||||||
From ef18ff5a437e9abe91c81289157a4e846169736a Mon Sep 17 00:00:00 2001
|
|
||||||
From: shixuantong <shixuantong1@huawei.com>
|
|
||||||
Date: Tue, 14 Mar 2023 07:38:03 +0000
|
|
||||||
Subject: [PATCH] fix permission of the private key
|
|
||||||
|
|
||||||
---
|
|
||||||
cloudinit/config/cc_ssh.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/cloudinit/config/cc_ssh.py b/cloudinit/config/cc_ssh.py
|
|
||||||
index 6210627..bc4a158 100644
|
|
||||||
--- a/cloudinit/config/cc_ssh.py
|
|
||||||
+++ b/cloudinit/config/cc_ssh.py
|
|
||||||
@@ -274,7 +274,7 @@ def handle(_name, cfg, cloud: Cloud, log: Logger, _args):
|
|
||||||
if gid != -1:
|
|
||||||
# perform same "sanitize permissions" as sshd-keygen
|
|
||||||
os.chown(keyfile, -1, gid)
|
|
||||||
- os.chmod(keyfile, 0o640)
|
|
||||||
+ os.chmod(keyfile, 0o600)
|
|
||||||
os.chmod(keyfile + ".pub", 0o644)
|
|
||||||
except subp.ProcessExecutionError as e:
|
|
||||||
err = util.decode_binary(e.stderr).lower()
|
|
||||||
--
|
|
||||||
2.39.1
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user