summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaulober <paul.oberosler@raspberrypi.com>2025-10-06 10:46:18 +0000
committerXECDesign <XECDesign@users.noreply.github.com>2025-10-06 14:35:14 +0100
commitdb9a45ca9d64b87098de0f7c43b69956cb5c05b1 (patch)
tree08292b725a059072a1c04dede816a9c83899b485
parentc2096dbf89928328fe2582acc161f3604fdf163f (diff)
cloud-init support: Disable emmiting keys to console by default
Signed-off-by: paulober <paul.oberosler@raspberrypi.com>
-rw-r--r--stage2/04-cloud-init/files/99_raspberry-pi.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/stage2/04-cloud-init/files/99_raspberry-pi.cfg b/stage2/04-cloud-init/files/99_raspberry-pi.cfg
index ffc0994..f699abf 100644
--- a/stage2/04-cloud-init/files/99_raspberry-pi.cfg
+++ b/stage2/04-cloud-init/files/99_raspberry-pi.cfg
@@ -5,6 +5,11 @@ datasource:
NoCloud:
seedfrom: file:///boot/firmware
+# Leave SSH key emission to console disabled so that
+# users can decide whether to enable it manually.
+ssh:
+ emit_keys_to_console: false
+
# Disable SSH host key generation
# regenerate_ssh_host_keys.service will take care
# of it on first boot