2014-05-22 15:06:10 -07:00
|
|
|
[Unit]
|
|
|
|
Description=Watch for a cloud-config at /media/configdrive
|
|
|
|
|
2014-06-17 12:07:52 -07:00
|
|
|
# Note: This unit is essentially just here as a fall-back mechanism to
|
|
|
|
# trigger cloudinit if it isn't triggered explicitly by other means
|
|
|
|
# such as by a Wants= in the mount unit. This ensures we handle the
|
|
|
|
# case where /media/configdrive is provided to a CoreOS container.
|
|
|
|
|
2014-05-22 15:06:10 -07:00
|
|
|
[Path]
|
|
|
|
DirectoryNotEmpty=/media/configdrive
|