OmniOS Builder

May 4, 2026 · View on GitHub

This project builds the OmniOS VM image for the cross-platform-actions/action GitHub action. The image contains a standard OmniOS installation.

The following packages are installed as well:

  • bash
  • curl
  • rsync

Except for the root user, there's one additional user, runner, which is the user that will be running the commands in the GitHub action. This user is allowed use sudo without a password.

Architectures and Versions

The following architectures and versions are supported:

Versionx86-64
r151058
r151056

Building Locally

Prerequisite

Building

  1. Clone the repository:

    git clone https://github.com/cross-platform-actions/omnios-builder
    cd omnios-builder
    
  2. Run build.sh to build the image:

    ./build.sh <version> <architecture>
    

    Where <version> and <architecture> are the any of the versions or architectures available in the above table.

The above command will build the VM image and the resulting disk image will be at the path: output/omnios-r151056-x86-64.qcow2.

Additional Information

The qcow2 format is chosen because unused space doesn't take up any space on disk, it's compressible and easily converts the raw format.