How to use SolusIO image builder?

Have more questions? Submit a request

Applicable to:

  • SolusIO

Question

How to use SolusIO image builder?

Answer

  1. Connect to the Compute resource via SSH
  2. Install the necessary packages:

    # yum install git curl unzip

  3. Download Packer and unarchive it:

    # curl -k https://releases.hashicorp.com/packer/1.5.1/packer_1.5.1_linux_amd64.zip --output packer_1.5.1_linux_amd64.zip
    unzip packer_1.5.1_linux_amd64.zip

  4. Rename the existing packer binary and replace it with the unarchived:

    # mv /usr/sbin/packer{,.orig}
    # cp packer /usr/sbin/

  5. Clone the repository with image builder and change to its directory:

    # git clone https://github.com/plesk/solus-cloud-images.git
    # cd solus-cloud-images

  6. Skip this step if Debian-based OS is used on CR, otherwise do the following:

    Open the json config file(for example windows/windows-2019.json) in text editor and add the following line in "builders" section:

    CONFIG_TEXT: "qemu_binary":"/usr/libexec/qemu-kvm",

  7. Start the package building process:

    # ./build.sh build windows-2019

    As a result you will find an image under ./output directory.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.