first simple example

This commit is contained in:
Lukas Greve
2025-09-04 11:30:25 +02:00
parent 286594939b
commit 96e8bd7588
2 changed files with 81 additions and 0 deletions

10
example/cloud_init.cfg Normal file
View File

@@ -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