diff --git a/ansible/roles/baremetal/templates/docker_systemd_service.j2 b/ansible/roles/baremetal/templates/docker_systemd_service.j2 index fb021a677f..1f84a0091b 100644 --- a/ansible/roles/baremetal/templates/docker_systemd_service.j2 +++ b/ansible/roles/baremetal/templates/docker_systemd_service.j2 @@ -1,11 +1,4 @@ [Service] MountFlags=shared ExecStart= -ExecStart=/usr/bin/docker daemon \ -{% if docker_registry %} ---insecure-registry {{ docker_registry }} \ -{% endif %} -{% if docker_storage_driver %} ---storage-driver={{ docker_storage_driver }} -{% endif %} - -H fd:// +ExecStart=/usr/bin/docker daemon{% if docker_registry %} --insecure-registry {{ docker_registry }}{% endif %}{% if docker_storage_driver %} --storage-driver {{ docker_storage_driver }}{% endif %}