The config option extra_features is passed as is into the Enable-FeatureInImage function, which in turn expects an array. When passing multiple features (e.g. "Microsoft-Hyper-V,Container"), the execution of Enable-FeatureInImage fails because of this.
https://github.com/cloudbase/windows-imaging-tools/blob/0130ee5c53ea21b775c7a79548e44473e73fd514/WinImageBuilder.psm1#L1733
https://github.com/cloudbase/windows-imaging-tools/blob/0130ee5c53ea21b775c7a79548e44473e73fd514/WinImageBuilder.psm1#L664-L686
The config option
extra_features
is passed as is into theEnable-FeatureInImage
function, which in turn expects an array. When passing multiple features (e.g. "Microsoft-Hyper-V,Container"), the execution ofEnable-FeatureInImage
fails because of this.