m346/KN03/x_res/cloud-init-db_VORLAGE.yaml

23 lines
506 B
YAML
Raw Normal View History

2023-09-02 15:23:30 +02:00
#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: <Wert_eingeben>
disable_root: <Wert_eingeben>
package_update: <Wert_eingeben>
package_upgrade: <Wert_eingeben>
package_reboot_if_required: <Wert_eingeben>
packages:
- <ergaenzen>
runcmd:
- sudo mysql <ergaenzen>
- sudo sed <ergaenzen>
- sudo systemctl <ergaenzen>