Created
May 28, 2020 18:44
-
-
Save narqo/07f42c9dd4e2e7d6078045d0b0555506 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cloud-config | |
hostname: pi-4 | |
manage_etc_hosts: true | |
write_files: | |
- content: | | |
network: | |
ethernets: | |
eth0: | |
dhcp4: no | |
addresses: | |
- 192.168.10.44/24 | |
- 2a02:8109:9ac0:36b5:dea6:32ff:fe29:8fe4/24 | |
gateway4: 192.168.10.1 | |
version: 2 | |
path: /etc/netplan/01-netcfg.yaml | |
- content: | | |
network: {config: disabled} | |
path: /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg | |
- content: | | |
APT::Periodic::Update-Package-Lists "0"; | |
APT::Periodic::Download-Upgradeable-Packages "0"; | |
APT::Periodic::AutocleanInterval "0"; | |
path: /etc/apt/apt.conf.d/10periodic | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAxHI6N5YFfJz+vJTlpGoU/7wbdAXblnqZ955SCqN0E1XhkddBX0AiQEfw2+YyX9tQidkJxX8Z5LQHxgjdfAXfYx3KIeh1xtJKY50jnHxzHc/iTIgn1L1I9+BklxWTpSo6tpmQ5TaFYBB/92/QOLjmBoDcbfiee9ivgt6bAhcZhb59fBhXd9M7xDnsEOHvBeQWveMKrRBAiDteqLqoHgCxW3vdW2PMPH/mWgyQUlR4jOPkl/gZZ/SIEmIj7lGIQLrd9WClFO88VDSiqiPU6ol8zyZe68grDTCfnBl6VD/V6gypnu4KIptATDRMamdv/f17KMIDwFSO4raXnbfz3sFwwQ== nek.narqo@gmail.com | |
packages: | |
- avahi-daemon | |
runcmd: | |
- [usermod, -md, /home/pi, -l, pi, ubuntu] | |
- [systemctl, restart, avahi-daemon] | |
- [apt, purge, cloud-init, unattended-upgrades] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment