moonraker/moonraker
Eric Callahan f35bceb309 machine: detect virtualized envronment
It isn't valid to run some commands from within containers.  Use systmd-detect-virt to detect a virtualized environment and report the type and id via the system_info endpoint.

If Moonraker is running from within a container do not allow access to the reboot and shutdown endpoints.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-10-28 11:45:13 -04:00
..
components machine: detect virtualized envronment 2021-10-28 11:45:13 -04:00
app.py app: replace refrences to ioloop with eventloop 2021-07-12 06:16:18 -04:00
confighelper.py confighelper: update 'Invalid config option' warning for better understanding 2021-08-29 14:15:12 -04:00
eventloop.py eventloop: initial implementation 2021-07-12 06:16:18 -04:00
moonraker.py file_manager: allow registration of full access directories 2021-10-27 08:55:44 -04:00
utils.py utils: add method to validate packaged applications 2021-07-06 19:25:10 -04:00
websockets.py moonraker: report websocket connection via /server/info 2021-09-21 11:30:25 -04:00