Formatstep - ODEX-TOS/tos-installer-backend GitHub Wiki

A format is an execution step. This execution step takes as an argument the device of a drive or name of a partition specified in the models section. It will then format the entire drive or a single partition. Lets take a look at the yaml

models:
 - disks:
   -disk:
    device: "/dev/sda"
    partitions:
      - partition:
        name: "root"
#specify your models here
execution:
 - format: "/dev/sda" # Format all partitions on the drive /dev/sda
 - format: "root" # Format the partition called root