I have the following in my config:
write_files:
- path: /etc/udev/rules.d/99-z-wave-stick.rules
container: udev
permissions: "0644"
owner: root
content: |
SUBSYSTEM=="tty", GROUP="dialout", ATTRS{interface}=="HubZ Z-Wave Com Port", SYMLINK+="zwave"
SUBSYSTEM=="tty", GROUP="dialout", ATTRS{interface}=="HubZ ZigBee Com Port", SYMLINK+="zigbee"
If I connect the USB, it works, but whenever I reboot the Rancher OS host, the symlinks are not created. If I do sudo system-docker exec -it udev bash
and inside of the container run udevadm trigger
the symlinks are created instantly.
How can I make this happen magically across reboots? Did I miss something?