mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-02-25 07:14:15 +00:00
* add our own fan controller, will need more tuning with time, but it's a great start * add restart/shutdown hooks for ulcmd, so the display shows the state of the system * change how we expose unifi's libs to binaries * Fixup systemd hang at boot due to networking * move ubnthal to systemd task, since we don't load modules due to the unifi initramfs in the prebuilt kernel
25 lines
594 B
INI
25 lines
594 B
INI
# configure cloud-init for None
|
|
datasource_list: [ None ]
|
|
datasource:
|
|
None:
|
|
metadata:
|
|
local-hostname: "unvr-nas"
|
|
userdata_raw: |
|
|
#cloud-config
|
|
hostname: unvr-nas
|
|
|
|
# Setup cmds for open media vault
|
|
runcmd:
|
|
- DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true apt-get install -f -y
|
|
- omv-confdbadm populate
|
|
- omv-salt deploy run hosts
|
|
- usermod -a -G _ssh debian
|
|
|
|
# Setup network for both nics, needed so SFP+ works
|
|
network:
|
|
version: 2
|
|
ethernets:
|
|
enp0s1:
|
|
dhcp4: true
|
|
enp0s2:
|
|
dhcp4: true
|