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