mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-08 06:28:51 +00:00
Allow override of HWID using environment variable (#3036)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
parent
16c18d0da9
commit
06b4638f6b
@ -36,6 +36,6 @@ COPY --from=builder /tmp/firmware/release/meshtasticd_linux_amd64 /home/mesh/
|
|||||||
|
|
||||||
USER mesh
|
USER mesh
|
||||||
WORKDIR /home/mesh
|
WORKDIR /home/mesh
|
||||||
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '$RANDOM'"
|
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '${HWID:-$RANDOM}'"
|
||||||
|
|
||||||
HEALTHCHECK NONE
|
HEALTHCHECK NONE
|
||||||
|
Loading…
Reference in New Issue
Block a user