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:
parent
82fc1bb6d1
commit
e0233d3d6b
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue