mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-01 11:36:42 +00:00
Pass the device uuid as an env var
This commit is contained in:
parent
04ca3b3042
commit
d47ba654b7
@ -147,7 +147,9 @@ exports.update = ->
|
||||
console.log("Remote apps")
|
||||
remoteApps = _.filter(remoteApps, 'commit')
|
||||
remoteApps = _.map remoteApps, (app) ->
|
||||
env = {}
|
||||
env =
|
||||
RESIN_DEVICE_UUID: uuid
|
||||
|
||||
if app.environment_variable?
|
||||
for envVar in app.environment_variable
|
||||
env[envVar.name] = envVar.value
|
||||
|
Loading…
Reference in New Issue
Block a user