sailesh1993 / rpms / cloud-init

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