summaryrefslogtreecommitdiff
path: root/systemd/cloud-init.target
blob: 03f61002d218f615b066c4d7a8717cd76e2e84f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# cloud-init target is enabled by cloud-init-generator
# To disable it you can either:
#  a.) boot with kernel cmdline of 'cloudinit=disabled'
#  b.) touch a file /etc/cloud/cloud-init.disabled
# cloud-init normally emits a "cloud-config" upstart event to inform third
# parties that cloud-config is available, which does us no good when we're
# using systemd.  cloud-config.target serves as this synchronization point
# instead.  Services that would "start on cloud-config" with upstart can
# instead use "After=cloud-config.target" and "Wants=cloud-config.target"
# as appropriate.

[Unit]
Description=Cloud-init target
Wants=cloud-init-local.service cloud-init.service
After=cloud-init-local.service cloud-init.service