Model - ODEX-TOS/tos-installer-backend GitHub Wiki
Model
In the data.yml
file you have models. Models describe the state of your installation environment. For example how a disk should look like, or what the system specs are.
Everything that should be defined in a model should look be inside this block
models:
# your models should be defined here as a yaml array
# eg
- model1:
- model2:
option: "foo"
option:
- bar
models
Extra must know info
A model on its own doesn't do anything. It is only used to perform actions specified in the execution
array. If you want to know more about that array look up execution in the wiki.
A full example of how everything interacts with each other can be found in the readme