Adding waitService in utils.net
Refactoring configure ip in vm, now use dhcp server.