Another issue I found is that dhcpcd sometimes fails to start in time, especially after some services were enabled (samba?)
What I found works for me is to use netcfg with already-in-place profile wired-eth0
$this->bbcode_second_pass_code('', 'systemctl netcfg@wired-eth0.service
systemctl disable dhcp@eth0.service
reboot')
This needs to be done before enabling any other daemons as you may end up with a system that doesn't acquire an ip address.
It may take up to 10min for system to come online (don't know why) but it least it works after all.