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

23 lines
464 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>
2023-09-09 16:04:02 +02:00
ssh_pwauth: false
disable_root: false
package_update: true
package_upgrade: true
2023-09-02 15:23:30 +02:00
package_reboot_if_required: <Wert_eingeben>
packages:
- <ergaenzen>
runcmd:
- sudo mysql <ergaenzen>
- sudo sed <ergaenzen>
- sudo systemctl <ergaenzen>