mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 21:26:29 +00:00
Merge pull request #518 from home-assistant/fix-device-configs
Bugfix home-assistant config with devices
This commit is contained in:
commit
cb520bff23
@ -88,6 +88,9 @@ class DockerHomeAssistant(DockerInterface):
|
|||||||
return self.sys_docker.run_command(
|
return self.sys_docker.run_command(
|
||||||
self.image,
|
self.image,
|
||||||
command,
|
command,
|
||||||
|
privileged=True,
|
||||||
|
init=True,
|
||||||
|
devices=self.devices,
|
||||||
detach=True,
|
detach=True,
|
||||||
stdout=True,
|
stdout=True,
|
||||||
stderr=True,
|
stderr=True,
|
||||||
@ -96,7 +99,7 @@ class DockerHomeAssistant(DockerInterface):
|
|||||||
},
|
},
|
||||||
volumes={
|
volumes={
|
||||||
str(self.sys_config.path_extern_config):
|
str(self.sys_config.path_extern_config):
|
||||||
{'bind': '/config', 'mode': 'ro'},
|
{'bind': '/config', 'mode': 'rw'},
|
||||||
str(self.sys_config.path_extern_ssl):
|
str(self.sys_config.path_extern_ssl):
|
||||||
{'bind': '/ssl', 'mode': 'ro'},
|
{'bind': '/ssl', 'mode': 'ro'},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user