2014-05-23 02:06:10 +04:00
|
|
|
[Unit]
|
|
|
|
Description=Watch for a cloud-config at /media/configdrive
|
|
|
|
|
2014-06-17 23:07:52 +04: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-23 02:06:10 +04:00
|
|
|
[Path]
|
|
|
|
DirectoryNotEmpty=/media/configdrive
|