diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index 49e11f3caa0..344c46dd31d 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -528,7 +528,7 @@ class DockerManager(object): self.lxc_conf = [] options = self.module.params.get('lxc_conf') for option in options: - parts = option.split(':') + parts = option.split(':', 1) self.lxc_conf.append({"Key": parts[0], "Value": parts[1]}) self.exposed_ports = None