Merge "Use docker-cmd hook."
This commit is contained in:
commit
5918136397
@ -173,7 +173,7 @@ resources:
|
|||||||
NovaComputeContainersConfigOVS:
|
NovaComputeContainersConfigOVS:
|
||||||
type: OS::Heat::StructuredConfig
|
type: OS::Heat::StructuredConfig
|
||||||
properties:
|
properties:
|
||||||
group: docker-compose
|
group: docker-cmd
|
||||||
config:
|
config:
|
||||||
ovsvswitchd:
|
ovsvswitchd:
|
||||||
image:
|
image:
|
||||||
@ -236,7 +236,7 @@ resources:
|
|||||||
LibvirtContainersConfig:
|
LibvirtContainersConfig:
|
||||||
type: OS::Heat::StructuredConfig
|
type: OS::Heat::StructuredConfig
|
||||||
properties:
|
properties:
|
||||||
group: docker-compose
|
group: docker-cmd
|
||||||
config:
|
config:
|
||||||
computedata:
|
computedata:
|
||||||
image:
|
image:
|
||||||
@ -281,7 +281,7 @@ resources:
|
|||||||
NovaComputeContainersConfig:
|
NovaComputeContainersConfig:
|
||||||
type: OS::Heat::StructuredConfig
|
type: OS::Heat::StructuredConfig
|
||||||
properties:
|
properties:
|
||||||
group: docker-compose
|
group: docker-cmd
|
||||||
config:
|
config:
|
||||||
neutronovsagent:
|
neutronovsagent:
|
||||||
image:
|
image:
|
||||||
|
@ -23,7 +23,7 @@ Restart=on-failure
|
|||||||
ExecStartPre=-/usr/bin/docker kill heat-agents
|
ExecStartPre=-/usr/bin/docker kill heat-agents
|
||||||
ExecStartPre=-/usr/bin/docker rm heat-agents
|
ExecStartPre=-/usr/bin/docker rm heat-agents
|
||||||
ExecStartPre=/usr/bin/docker pull $agent_image
|
ExecStartPre=/usr/bin/docker pull $agent_image
|
||||||
ExecStart=/usr/bin/docker run --name heat-agents --privileged --net=host -v /var/lib/etc-data:/var/lib/etc-data -v /run:/run -v /etc:/host/etc -v /usr/bin/atomic:/usr/bin/atomic -v /var/lib/dhclient:/var/lib/dhclient -v /var/lib/cloud:/var/lib/cloud -v /var/lib/heat-cfntools:/var/lib/heat-cfntools --entrypoint=/usr/bin/os-collect-config $agent_image
|
ExecStart=/usr/bin/docker run --name heat-agents --privileged --net=host -v /var/lib/etc-data:/var/lib/etc-data -v /run:/run -v /etc:/host/etc -v /usr/bin/atomic:/usr/bin/atomic -v /var/lib/dhclient:/var/lib/dhclient -v /var/lib/cloud:/var/lib/cloud -v /var/lib/heat-cfntools:/var/lib/heat-cfntools -v /usr/bin/docker:/usr/bin/docker --entrypoint=/usr/bin/os-collect-config $agent_image
|
||||||
ExecStop=/usr/bin/docker stop heat-agents
|
ExecStop=/usr/bin/docker stop heat-agents
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user