!!!!!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 ntp: enabled: true servers: - 0.hu.pool.ntp.org - 1.hu.pool.ntp.org - 2.hu.pool.ntp.org keyboard: layout: hu variant: nodeadkeys model: pc105 apt: proxy: http://proxy.feketebt.net:8080 conf: | Acquire::Retries "5"; Acquire::http::Pipeline-Depth "0"; Acquire::http::No-Cache "true"; write_files: - path: /etc/apt/apt.conf.d/95proxies permissions: '0644' content: | Acquire::http::Proxy "http://proxy.feketebt.net:8080"; - path: /etc/profile.d/proxy.sh permissions: '0644' content: | export http_proxy="http://proxy.feketebt.net:8080" export no_proxy="localhost,127.0.0.1,10.0.0.0/8,172.24.0.0/16,192.168.0.0/16" 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 - echo "snoopy snoopy/install-ld-preload boolean true" | debconf-set-selections - DEBIAN_FRONTEND=noninteractive apt-get install -y snoopy