mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 02:01:35 +00:00
ServiceManager: add BALENA_DEVICE_NAME_AT_INIT to injected env vars
Change-type: minor Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
This commit is contained in:
parent
ed3f5522ae
commit
88b3682d51
@ -113,6 +113,7 @@ module.exports = class ServiceManager extends EventEmitter
|
||||
|
||||
# TODO: Don't mutate service like this, use an interface
|
||||
service.config.environment['RESIN_DEVICE_NAME_AT_INIT'] = deviceName
|
||||
service.config.environment['BALENA_DEVICE_NAME_AT_INIT'] = deviceName
|
||||
|
||||
@logger.logSystemEvent(logTypes.installService, { service })
|
||||
@reportNewStatus(mockContainerId, service, 'Installing')
|
||||
|
Loading…
x
Reference in New Issue
Block a user