Hello,
You can add the following API in the script to complete wizard.
curl -k http://127.0.0.1/rpc -H 'glinet: 1' -d '{"jsonrpc":"2.0","id":5,"method":"call","params":["","ui","init",{"lang":"en","username":"root","password":"goodlife","security_rule":0}]}'
You can define the language, password, and whether to allow weak passwords security_rule
Tips:
- To execute this API, it needs to SSH login first
- Before completing wizard, it does not need password to login; after completing wizard, a password you define to re-login SSH