feat(units): Add generic cloudinit path unit

Switch to triggering common user configs via a path unit. This is
particularly useful for config drive so that a config drive can be
mounted by something other than the udev triggered services, a bind
mount when running in a container for example.
This commit is contained in:
Michael Marineau
2014-05-16 19:44:57 -07:00
parent 140682350d
commit f83ce07416
4 changed files with 10 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
[Unit]
Description=Watch for a cloud-config at %f
[Path]
PathExists=%f