I have been using HyperVM to deploy OpenVZ Ubuntu 12.04 server instances. Unfortunately, they all boot without networking enabled. I tried inserting int the crontab:
@reboot /usr/sbin/service networking restart
But this didn't work.
Running this command (without @reboot) from the CLI will result in the network starting and being able to use commands like ifconfig so I get the feeling it is just a matter of the cron being called too soon?
What is the best practice for resolving the issue. I am guessing something along the lines of adding an upstart job?