Got it. In the template file, you create a lookup variable and populate it inside the configuration file.
Template File:
Template: pkg/interfaces Type: select Choices: ${choices} Description: .....
The configuration file:
declare -a options; count=0;
source share