Sfoglia il codice sorgente

expose usb device to home assistant

Blaine Story 1 anno fa
parent
commit
623bfb5e75
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      plays/nas-services.yml

+ 2 - 0
plays/nas-services.yml

@@ -58,6 +58,8 @@
         network_mode: host
         environment:
           - TZ=America/Los_Angeles
+        devices:
+          - /dev/ptmx:/dev/ptmx
         volumes:
           - /opt/homeassistant:/config
           - /run/dbus:/run/dbus:ro