configure VIF type based on localrc