riptidewave93 / UNVR-NAS

Convert your Unifi UNVR/UNVR Pro into a Debian OpenMediaVault NAS Appliance
73 stars 3 forks source link

Fixup Network configuration in OpenMediaVault #2

Closed riptidewave93 closed 5 months ago

riptidewave93 commented 5 months ago

Because we debootstrap openmediavault, network interfaces are not setup via the UI even though we set them up with systemd-networkd via cloud-init.

This needs to be researched and resolved, so network interface management can be moved to openmediavault directly via the webUI.

riptidewave93 commented 5 months ago

I have a solution for this, but first boot is kinda hacky because systemd needs something to come up otherwise we hang with cloud-init due to systemd-networkd-wait-online. We will have our own /etc/systemd/network config files for the NICs during first boot with cloud-init, and after cloud-init will delete said files and move to OMV managed interfaces via netplan/systemd.

riptidewave93 commented 5 months ago

This should now be resolved with https://github.com/riptidewave93/UNVR-NAS/commit/c259d223bfc4cbeb509f73993b84f074284f28eb