-
-
Notifications
You must be signed in to change notification settings - Fork 532
Description
Fluidd Version
v1.35.0-e17b3de
Browser
Chrome
Device
Laptop
Operating System
Windows
What happened
My fluidd instance does not show host controls:
This is because fluidd assumes it cannot control the host if system_info.virtualization.virt_type is "container":
fluidd/src/components/common/SystemCommands.vue
Lines 170 to 172 in 205f8f5
| get canControlHost (): boolean { | |
| return this.systemInfo?.virtualization?.virt_type !== 'container' | |
| } |
But there is no reason for this. If the Moonraker container is properly set up, with access to the hosts DBus socket and [machine] provider configured accordingly, then Moonraker can control the host just fine.
When using prind, probably the most common Klipper setup after KIAUH, the Moonraker container is by default configured appropriately.
The only case where the host commands would for sure not work is when system_info.provider is "none".
From the Moonraker docs:
If the provider is set to "none" service action APIs will be disabled.
What did you expect to happen
Host controls should be shown.
How to reproduce
Connect fluidd to a Moonraker running in a Docker container, for example by using prind.
Additional information
No response