!!!!!At kell nevezni yaml-re a fajlt!!!!! Az egyenloseg jelekkel egyutt torolheto ez a resz! ========================= #cloud-config preserve_hostname: false manage_etc_hosts: true users: - name: feketebt groups: sudo shell: /bin/bash lock_passwd: false passwd: "$6$v4pWfv2/1rR24SDS$TE4yxcNddNZTa/N50AmN5onikC6rfG1pZS2f1aN4TzWY5X3pfhlDNENUxOxTVImakdITSA4la8r3zW/Y8HB5S/" ssh_authorized_keys: - ssh-rsa AAAAB3... - ssh-dss AAAAB3... - ssh-ed25519 AAAA... package_update: true package_upgrade: true package_reboot_if_required: true locale: hu_HU.UTF-8 timezone: Europe/Budapest keyboard: layout: hu variant: nodeadkeys model: pc105 packages: - qemu-guest-agent runcmd: - sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication no/' /etc/ssh/sshd_config - sed -i 's/^#\?ChallengeResponseAuthentication.*/ChallengeResponseAuthentication no/' /etc/ssh/sshd_config - systemctl reload ssh - systemctl enable qemu-guest-agent - systemctl start qemu-guest-agent