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:
5
units/user-cloudinit@.path
Normal file
5
units/user-cloudinit@.path
Normal file
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Watch for a cloud-config at %f
|
||||
|
||||
[Path]
|
||||
PathExists=%f
|
Reference in New Issue
Block a user