mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
Actually send the hostname as part of container config
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit is contained in:
parent
534f7d13cb
commit
8956fc1e5a
@ -554,6 +554,8 @@ module.exports = class Service
|
||||
}
|
||||
if @init
|
||||
conf.HostConfig.Init = true
|
||||
if !_.isEmpty(@hostname)
|
||||
conf.Hostname = @hostname
|
||||
return conf
|
||||
|
||||
# TODO: when we support network configuration properly, return endpointConfig: conf
|
||||
|
Loading…
Reference in New Issue
Block a user