ytdl-sub.yaml - selfhost - Incus configurations for my self-hosted setup.
 (HTM) git clone git://jay.scot/selfhost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       ytdl-sub.yaml (665B)
       ---
            1 devices:
            2   feeds:
            3     path: /tv_shows
            4     source: /srv/media/tv_shows
            5     type: disk
            6     shift: true
            7 
            8 config:
            9   cloud-init.network-config: |
           10     version: 2
           11     ethernets:
           12       eth0:
           13         addresses:
           14           - 192.168.2.17/24
           15         gateway4: 192.168.2.1
           16   cloud-init.user-data: |
           17     #cloud-config
           18     package_upgrade: true
           19     hostname: ytdl-sub.jay.scot
           20     timezone: Europe/London
           21     manage_resolv_conf: true
           22     resolv_conf:
           23       nameservers: ['192.168.2.10', '1.1.1.1']
           24     packages:
           25       - ytdl-sub
           26     write_files:
           27       - owner: root:root
           28         path: /var/spool/cron/crontabs/root
           29         content: 0 1 * * * ytdl-sub sub /root/subscriptions.yaml