5b08af
From 5bc897b13aa3090770af618f0cfa49f958436515 Mon Sep 17 00:00:00 2001
5b08af
From: Eduardo Otubo <otubo@redhat.com>
5b08af
Date: Tue, 17 Mar 2020 09:17:05 +0100
5b08af
Subject: [PATCH 5/5] Enable ssh_deletekeys by default
5b08af
5b08af
Message-id: <20200317091705.15715-1-otubo@redhat.com>
5b08af
Patchwork-id: 94365
5b08af
O-Subject: [RHEL-7.9/RHEL-8.2.0 cloud-init PATCH] Enable ssh_deletekeys by default
5b08af
Bugzilla: 1574338
5b08af
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
5b08af
RH-Acked-by: Mohammed Gamal <mgamal@redhat.com>
5b08af
5b08af
The configuration option ssh_deletekeys will trigger the generation
5b08af
of new ssh keys for every new instance deployed.
5b08af
5b08af
x-downstream-only: yes
5b08af
resolves: rhbz#1814152
5b08af
5b08af
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
5b08af
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
5b08af
---
5b08af
 rhel/cloud.cfg | 2 +-
5b08af
 1 file changed, 1 insertion(+), 1 deletion(-)
5b08af
5b08af
diff --git a/rhel/cloud.cfg b/rhel/cloud.cfg
5b08af
index 82e8bf6..9ecba21 100644
5b08af
--- a/rhel/cloud.cfg
5b08af
+++ b/rhel/cloud.cfg
5b08af
@@ -6,7 +6,7 @@ ssh_pwauth:   0
5b08af
 
5b08af
 mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2']
5b08af
 resize_rootfs_tmp: /dev
5b08af
-ssh_deletekeys:   0
5b08af
+ssh_deletekeys:   1
5b08af
 ssh_genkeytypes:  ~
5b08af
 syslog_fix_perms: ~
5b08af
 disable_vmware_customization: false
5b08af
-- 
5b08af
1.8.3.1
5b08af