Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #114 from tarvip/ephemeral-storage-deps
Browse files Browse the repository at this point in the history
Ensure ephemeral storage is prepared before docker starts
  • Loading branch information
mumoshu committed Dec 3, 2016
2 parents ed09dd9 + 22a34a6 commit 2721a47
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ coreos:
{{end}}
- name: docker.service
drop-ins:
{{if .Experimental.EphemeralImageStorage.Enabled}}
- name: 10-docker-mount.conf
content: |
[Unit]
After=var-lib-docker.mount
Wants=var-lib-docker.mount
{{end}}
- name: 40-flannel.conf
content: |
[Unit]
Expand Down
7 changes: 7 additions & 0 deletions config/templates/cloud-config-worker
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ coreos:
units:
- name: docker.service
drop-ins:
{{if .Experimental.EphemeralImageStorage.Enabled}}
- name: 10-docker-mount.conf
content: |
[Unit]
After=var-lib-docker.mount
Wants=var-lib-docker.mount
{{end}}
- name: 40-flannel.conf
content: |
[Unit]
Expand Down

0 comments on commit 2721a47

Please sign in to comment.