creating generic method to create a vm, independent of sec_group or network