Skip to content

cross-platform-actions/omnios-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniOS Builder

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:

Version x86-64
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.

About

Builder for the OmniOS action

Resources

Stars

Watchers

Forks

Packages

No packages published