27 lines
656 B
Diff
27 lines
656 B
Diff
|
|
From ab1a7fc06f5e6804bc44a9c55bdba197a4c89100 Mon Sep 17 00:00:00 2001
|
||
|
|
From: shixuantong <shixuantong1@huawei.com>
|
||
|
|
Date: Wed, 1 Nov 2023 17:21:45 +0800
|
||
|
|
Subject: [PATCH] do not generate dsa
|
||
|
|
|
||
|
|
---
|
||
|
|
config/cloud.cfg.tmpl | 3 +++
|
||
|
|
1 file changed, 3 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
|
||
|
|
index e686770..9a8a41d 100644
|
||
|
|
--- a/config/cloud.cfg.tmpl
|
||
|
|
+++ b/config/cloud.cfg.tmpl
|
||
|
|
@@ -82,6 +82,9 @@ syslog_fix_perms: ~
|
||
|
|
disable_vmware_customization: false
|
||
|
|
{% endif %}
|
||
|
|
|
||
|
|
+# do not generate dsa
|
||
|
|
+ssh_genkeytypes: ['rsa', 'ecdsa', 'ed25519']
|
||
|
|
+
|
||
|
|
# The modules that run in the 'init' stage
|
||
|
|
cloud_init_modules:
|
||
|
|
- migrator
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|