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

A chroot model is a model that changes root to a different filesystem. It is used to "change" the default system location. This model will "chroot" into your freshly installed system. This is an example

models:
  - chroots:
      - chroot:
          name: "alpha" # name of the user to chroot
          mount: "/media" # alternative mountpoint to chroot to
      - chroot:
          name: "root"

The name is needed to identify in the execution step which chroot should be user

mount is an optional argument with its default located in config.yaml if it doesn't exist the default is /mnt

If you wish to use this model add chroot as a build step in the execution array.