Using the CLI script to configure the WildFly during provision phase.
Here is an example showing how to use the .cli
script to run WildFly CLI commands to configure the WildFly server during the provision phase:
It uses the embed-server
command to run the commands. Here is the blog post introducing the embed-server
mode: