UNVR-NAS/overlay/filesystem/etc/cloud/cloud.cfg.d/99-none-omv-setup.cfg
Chris Blake a4f7f862c2 fix: improvements all around
* 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
2024-05-22 11:42:34 -05:00

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