git.yaml - selfhost - Incus configurations for my self-hosted setup.
 (HTM) git clone git://jay.scot/selfhost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       git.yaml (759B)
       ---
            1 devices:
            2   repos:
            3     path: /srv/git
            4     source: /srv/services/git
            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.12/24
           15         gateway4: 192.168.2.1
           16   cloud-init.user-data: |
           17     #cloud-config
           18     package_upgrade: true
           19     hostname: git.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     users:
           25       - name: git
           26         shell: /usr/bin/git-shell
           27         homedir: /srv/git
           28         ssh_authorized_keys:
           29           - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDLmKYxwXTbyRWLG0S24RTpyfyBO6AL8Dcy0XvVZ97Do
           30     runcmd:
           31       - echo "git:*" | chpasswd -e
           32     packages:
           33       - git