swarm-manager.service does not support enable as a command
Change-Id: I197ef53fc8b5d59efd793bc925a516b9d265427e
This commit is contained in:
parent
5f51d55632
commit
85b502c8ce
2
terraform/dockerswarm-coreos/templates/cloud-init
Normal file → Executable file
2
terraform/dockerswarm-coreos/templates/cloud-init
Normal file → Executable file
@ -9,7 +9,6 @@ coreos:
|
||||
- name: docker.service
|
||||
command: start
|
||||
- name: swarm-agent.service
|
||||
command: enable
|
||||
content: |
|
||||
[Unit]
|
||||
Description=swarm agent
|
||||
@ -24,7 +23,6 @@ coreos:
|
||||
ExecStart=/bin/sh -c "/usr/bin/docker run --rm --name swarm-agent swarm:${swarm_version} join --addr=$COREOS_PRIVATE_IPV4:2376 etcd://$COREOS_PRIVATE_IPV4:2379/docker"
|
||||
ExecStop=/usr/bin/docker stop swarm-agent
|
||||
- name: swarm-manager.service
|
||||
command: enable
|
||||
content: |
|
||||
[Unit]
|
||||
Description=swarm manager
|
||||
|
Loading…
Reference in New Issue
Block a user