Fixed vm create using vm images

Updated vm create command to support vm creation using vm images.