m346/KN03/x_res/cloud-init-db_VORLAGE.yaml
2023-09-09 14:04:02 +00:00

23 lines
464 B
YAML

#cloud-config
users:
- name: ubuntu
sudo: ALL=(ALL) NOPASSWD:ALL
groups: users, admin
home: /home/ubuntu
shell: /bin/bash
ssh_authorized_keys:
- ssh-rsa <Public-Key> <Random_Benutzername>
ssh_pwauth: false
disable_root: false
package_update: true
package_upgrade: true
package_reboot_if_required: <Wert_eingeben>
packages:
- <ergaenzen>
runcmd:
- sudo mysql <ergaenzen>
- sudo sed <ergaenzen>
- sudo systemctl <ergaenzen>