cloud-init-local depends on /run. reflect that in upstart job.

With the writing of cloud-init status, cloud-init-local needs to
have /run mounted.  The issue we were seeing was a race where:
 cloud-init-local creates /run/cloud-init
 /run is mounted
 cloud-init-local tries to link a file into /run/cloud-init

that directory was no longer visisable as /run was mounted over
the top.
This commit is contained in:
Scott Moser 2014-09-11 10:50:04 -04:00
parent 95fb96e921
commit aab95dba00

View File

@ -1,6 +1,6 @@
# cloud-init - the initial cloud-init job
# crawls metadata service, emits cloud-config
start on mounted MOUNTPOINT=/
start on mounted MOUNTPOINT=/ and mounted MOUNTPOINT=/run
task