Integrate Fleet MDM services#1590
Conversation
859846d to
ec3412c
Compare
ec3412c to
26d9ee9
Compare
26d9ee9 to
a5cec98
Compare
a5cec98 to
8bc1d68
Compare
8bc1d68 to
3d1c03d
Compare
3d1c03d to
d20d9fe
Compare
|
overall looking good. Regarding the patches. are these patches that we plan to push upstream? |
Well, I opened a PR for the upstream, but nobody noticed it in couple of months ... ( |
|
Tested quickly on Darter Pro (new image, rebased to mainline)
|
d20d9fe to
9b6ea6a
Compare
|
needs a rebase. |
4ba4a94 to
dcd9b2b
Compare
dcd9b2b to
0f8f471
Compare
|
|
0f8f471 to
5a5d93d
Compare
That was unfortunate sidefect of merging main, now fixed. |
Add Fleet MDM client (Orbit) integration for device management: - Add fleet module with Orbit and Fleet Desktop packages (v1.46.0) - Patch orbit to support --hostname-file flag for dynamic hostname identification from external file instead of system hostname - Add NixOS-specific patches for script execution and path handling - Enable Orbit service in guivm with dynamic hostname from /etc/common/ghaf/hostname (shared via virtiofs from host) - Add systemd ConditionPathExists to wait for hostname file This allows Fleet server to identify devices using the hardware-derived dynamic hostname generated by ghaf-dynamic-hostname service on the host. Signed-off-by: vadik likholetov <vadikas@gmail.com>
5a5d93d to
603040c
Compare
|
Tested on lenovo-x1 that manual steps for enrolling the secret in gui-vm work. Then the device gets enrolled to https://fleetdm.vedenemo.dev/, and shows there correctly across boots. If the device is deleted from https://fleetdm.vedenemo.dev/ it appears again if having internet connection. |



Description of Changes
Type of Change
Related Issues / Tickets
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
From gui-vm:
sudo mkdir -p /etc/common/ghaf/fleet
sudo install -m 600 /dev/stdin /etc/common/ghaf/fleet/enroll
paste enroll secret, then Ctrl-D
sudo systemctl restart orbit
sudo journalctl -u orbit -n 50 --no-pager