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.
The following architectures and versions are supported:
| Version | x86-64 |
|---|---|
| r151056 | ✓ |
-
Clone the repository:
git clone https://github.com/cross-platform-actions/omnios-builder cd omnios-builder -
Run
build.shto 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.
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.