Skip to main content

Provision

This guide will walk you through the process of provisioning a QEMU ARM using the Avocado CLI. For general information on provisioning, see the provisioning reference.

Prerequisites

  • Host machine:
    • macOS 10.12+
    • Linux (Ubuntu 22.04+, Fedora 39+)
  • Available disk space: 8 GB
  • The latest version of the Avocado CLI.

Initialize project

Create the project directory and install dependencies.

Development machine
avocado init --target qemuarm64 qemuarm64 && cd qemuarm64
avocado install --force

Provision

Build the project and execute the provisioning procedure. Because QEMU is virtual, the act of provisioning will write its artifacts to disk on your development machine as opposed to physically interfacing with external hardware.

Development machine
avocado build
avocado provision -r dev

Run

To leverage the provisioning artifacts to run the virtual machine, you may use the following command:

Development machine
avocado sdk run -iE vm dev

The root user is passwordless in the dev runtime used by this guide.