f83ce07416
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.
14 lines
515 B
SYSTEMD
14 lines
515 B
SYSTEMD
[Unit]
|
|
Description=Load user-provided cloud configs
|
|
Requires=system-config.target
|
|
After=system-config.target
|
|
|
|
# Watch for configs at a couple common paths
|
|
Requires=user-cloudinit@media-configdrive-openstack-latest-user_data.path
|
|
After=user-cloudinit@media-configdrive-openstack-latest-user_data.path
|
|
Requires=user-cloudinit@var-lib-coreos\x2dinstall-user_data.path
|
|
After=user-cloudinit@var-lib-coreos\x2dinstall-user_data.path
|
|
|
|
Requires=user-cloudinit-proc-cmdline.service
|
|
After=user-cloudinit-proc-cmdline.service
|