Closed davidallendj closed 2 weeks ago
I've tested this myself, and it seems to work running something like this:
# remove any/all existing plugins built previously
rm lib/*
# run the `dnsmasq` target, but using the built-in generator instead
./configurator generate --config config.yaml --target dnsmasq -o test --cacert cacert.pem
I don't think it'll hurt if someone else wants to confirm that it works as well.
This PR changes how the default plugins are built. Instead of having each individual plugin built separately, they are now built into the executable itself. Therefore, this PR also adds a check for built-in generators first before perform a lookup with external plugins. No other changes were made to the plugin system itself, so it is still possible to create plugins externally and load them like before.