| nas.yaml - selfhost - Incus configurations for my self-hosted setup. | |
| git clone git://jay.scot/selfhost | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| nas.yaml (1076B) | |
| --- | |
| 1 devices: | |
| 2 storage: | |
| 3 path: /share | |
| 4 source: /srv | |
| 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.14/24 | |
| 15 gateway4: 192.168.2.1 | |
| 16 cloud-init.user-data: | | |
| 17 #cloud-config | |
| 18 package_upgrade: true | |
| 19 hostname: nas.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 write_files: | |
| 25 - path: /etc/samba/smb.conf | |
| 26 content: | | |
| 27 [global] | |
| 28 allow insecure wide links = yes | |
| 29 workgroup = WORKGROUP | |
| 30 dos charset = cp866 | |
| 31 unix charset = utf-8 | |
| 32 force user = samba | |
| 33 | |
| 34 [storage] | |
| 35 follow symlinks = yes | |
| 36 wide links = yes | |
| 37 browseable = yes | |
| 38 writeable = yes | |
| 39 path = /share | |
| 40 users: | |
| 41 - name: samba | |
| 42 group: users | |
| 43 passwd: $6$WNXusbujTtdH5X3z$43RgrNloS.Qz9nVoN5jIiaSpzgrur9KpRwfi… | |
| 44 packages: | |
| 45 - samba |