bug #2781: work around bug in Ubuntu Precise where restarting network does not work

Signed-off-by: Javi Fontan <jfontan@opennebula.org>