refactoring create vm script, and ubuntu 14.04 netint tested ok