Change After rule from cloud-final to cloud-config

In recent Ubuntu 16.04 the unit doesn't get triggered otherwise.

Change-Id: I70ddb25ec177d7fc64850c0cc60df72cff22594d
This commit is contained in:
Mathieu Velten 2017-09-20 11:22:20 +02:00
parent 82fc1bb6d1
commit e0233d3d6b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ elif [ "$DIB_INIT_SYSTEM" == "systemd" ] ; then
cat > /lib/systemd/system/os-collect-config.service <<eof
[Unit]
Description=Collect metadata and run hook commands.
After=cloud-final.service
After=cloud-config.service
Before=crond.service
[Service]