[Bug 1468103] Re: rc.local runs earlier than cloud-init.service

Tiago Peralta tperalta82 at gmail.com
Mon Jan 11 14:16:08 UTC 2016


A simple fix is something like this:

Create the /etc/systemd/system/rc-local.service file with the following
contents:

[Unit]
Description=/etc/rc.local Compatibility

[Service]
Type=idle
ExecStart=/etc/rc.systemd
TimeoutSec=0
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Create a file /etc/rc.systemd with whatever you want to run, set it to executable.
Delete everything you added from rc.local until this gets properly fixed 

run systemctl daemon-reload

Reboot to test it.

Working for me at the moment

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1468103

Title:
  rc.local runs earlier than cloud-init.service

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1468103/+subscriptions



More information about the Ubuntu-server-bugs mailing list