/etc/init/cloud-init-local.conf is in cloud-init 0.7.7~bzr1212-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # cloud-init - the initial cloud-init job
# crawls metadata service, emits cloud-config
start on mounted MOUNTPOINT=/ and mounted MOUNTPOINT=/run
task
console output
script
lfin=/run/cloud-init/local-finished
ret=0
cloud-init init --local || ret=$?
[ -r /proc/uptime ] && read up idle < /proc/uptime || up="N/A"
echo "$ret up $up" > "$lfin"
exit $ret
end script
|