change vm and give private ip