From ffb345b8e683fa0251cd4eb2563a2bca06e45b6c Mon Sep 17 00:00:00 2001 From: Shilpi Das <69339560+Shilpi-Das1@users.noreply.github.com> Date: Tue, 7 Jun 2022 15:53:28 +0530 Subject: [PATCH] Update template to use latest cloud init Used cloud-init-22.1-1.el8.noarch --- cmd/image/qcow2ova/prep/templates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/image/qcow2ova/prep/templates.go b/cmd/image/qcow2ova/prep/templates.go index c82baa67..b35a0962 100644 --- a/cmd/image/qcow2ova/prep/templates.go +++ b/cmd/image/qcow2ova/prep/templates.go @@ -79,7 +79,7 @@ mv /etc/resolv.conf.orig /etc/resolv.conf || true touch /.autorelabel ` -var cloudConfig = `# latest file from cloud-init-19.4-11.el8_3.2.noarch +var cloudConfig = `# latest file from cloud-init-22.1-1.el8.noarch users: - default @@ -90,7 +90,7 @@ ssh_pwauth: 0 mount_default_fields: [~, ~, 'auto', 'defaults,nofail,x-systemd.requires=cloud-init.service', '0', '2'] resize_rootfs_tmp: /dev ssh_deletekeys: 1 -ssh_genkeytypes: ~ +ssh_genkeytypes: ['rsa', 'ecdsa', 'ed25519'] syslog_fix_perms: ~ disable_vmware_customization: false