Skip to content

Commit

Permalink
fix(docker): wait for drive formatting to complete before mounting
Browse files Browse the repository at this point in the history
Undefined behavior occurs if format-ephemeral.service has not finished
before var-lib-docker.mount is run
  • Loading branch information
Alexander Wenzowski committed Mar 13, 2015
1 parent daa11fd commit a6c2e9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/gce/gce-user-data-template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ coreos:
[Unit]
Description=Mount ephemeral to /var/lib/docker
Requires=format-ephemeral.service
After=format-ephemeral.service
Before=docker.service
[Mount]
What=/dev/disk/by-id/scsi-0Google_PersistentDisk_coredocker
Expand Down

0 comments on commit a6c2e9c

Please sign in to comment.