Merge pull request #518 from home-assistant/fix-device-configs

Bugfix home-assistant config with devices
This commit is contained in:
Pascal Vizeli 2018-06-21 12:18:20 +02:00 committed by GitHub
commit cb520bff23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,9 @@ class DockerHomeAssistant(DockerInterface):
return self.sys_docker.run_command(
self.image,
command,
privileged=True,
init=True,
devices=self.devices,
detach=True,
stdout=True,
stderr=True,
@ -96,7 +99,7 @@ class DockerHomeAssistant(DockerInterface):
},
volumes={
str(self.sys_config.path_extern_config):
{'bind': '/config', 'mode': 'ro'},
{'bind': '/config', 'mode': 'rw'},
str(self.sys_config.path_extern_ssl):
{'bind': '/ssl', 'mode': 'ro'},
}