From e0518f90b639d966dadd325ef425af698f18426d Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Tue, 26 Aug 2025 20:17:27 +0200 Subject: [PATCH] first (insecure) cloud-init configuration --- ubuntu-cloud-server-2404-bios/cloud_init.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ubuntu-cloud-server-2404-bios/cloud_init.cfg diff --git a/ubuntu-cloud-server-2404-bios/cloud_init.cfg b/ubuntu-cloud-server-2404-bios/cloud_init.cfg new file mode 100644 index 0000000..17c3ed1 --- /dev/null +++ b/ubuntu-cloud-server-2404-bios/cloud_init.cfg @@ -0,0 +1,10 @@ +ssh_pwauth: true +chpasswd: + list: | + root:phyllome + expire: False +disable_root: false + +runcmd: + - sed -i '/PermitRootLogin/s/.*/PermitRootLogin yes/' /etc/ssh/sshd_config + - systemctl restart sshd \ No newline at end of file