From 7e470c0bc49faa8e8c616463426ddb71dcc20657 Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Thu, 4 Sep 2025 11:31:28 +0200 Subject: [PATCH] cloud_init.yaml, intented to be shared --- multiple/environments/cloud_init.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 multiple/environments/cloud_init.yaml diff --git a/multiple/environments/cloud_init.yaml b/multiple/environments/cloud_init.yaml new file mode 100644 index 0000000..55c5cf8 --- /dev/null +++ b/multiple/environments/cloud_init.yaml @@ -0,0 +1,18 @@ +#cloud-config +# vim: syntax=yaml +# examples: +# https://cloudinit.readthedocs.io/en/latest/topics/examples.html +--- +ssh_pwauth: true +disable_root: false +chpasswd: + list: | + root:password + expire: false +users: + - name: ubuntu + sudo: ALL=(ALL) NOPASSWD:ALL + groups: users, admin + home: /home/ubuntu + shell: /bin/bash + lock_passwd: false \ No newline at end of file