sailesh1993 / rpms / cloud-init

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