Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
tpl
 
 
 
 
 
 
 
 
 
 
 
 
 
 

github-readme_header

Compute Templates

Packer template source for public templates available on the PCextreme cloud.

Requirements

To build these templates make sure you have the following tools installed:

  • packer (>= 1.6.0)
  • make

Building

An example to build the Ubuntu 18.04 template:

make build NAME=ubuntu-18.04

Gitlab CI

PCextreme uses Gitlab CI to build these templates. The .gitlab-ci.yml file can be found in this directory.

Result / Downloads

Succesful builds of the master branch are uploaded to the Objects S3 storage service of PCextreme into a public bucket.

The resulting QCOW2 files can be found here: https://compute.o.auroraobjects.eu/

Cloudstack profiles

Uploading to Cloudstack is done with the help of an python CLI wrappen around the API, a profile is needed for this to work. To keep this (secret) information out of Git while also making it possible to add multiple Cloudstack clusters, this info is fetched from an environment variable: CLOUDMONKEY_PROFILES.

This variable should contain the following json encoded as base64, with at least 1 entry.

[
  {
    "name": "mymanager",
    "endpoint": "https://cloud/api",
    "key": "abc",
    "secret": "xyz"
  }
]
% jq '.' profiles.json | base64 -w 0
WwogIHsKICAgICJuYW1lIjogIm15bWFuYWdlciIsCiAgICAiZW5kcG9pbnQiOiAiaHR0cHM6Ly9jbG91ZC9hcGkiLAogICAgImtleSI6ICJhYmMiLAogICAgInNlY3JldCI6ICJ4eXoiCiAgfQpdCg==

The config can be generated using generate-cloudstack, which will append every entry to an ini file that will be used by the register script.

[mymanager]
endpoint = https://cloud/api
key = abc
secret = xyz

ISO files and checksums

All the ISO files are stored on the Objects platform of PCextreme. This is to ensure URLs are stable and future-proof.

They all point to sub-paths of http://compute.o.auroraobjects.eu/iso/ where URL stability is ensured.

Checksums of ISO files are hardcoded in the JSON files of the templates to make sure that data corruption or MITM during transfer of the ISO is safeguarded.

Licensing

The PCextreme Packer Templates are licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

About

The packer templates we use to create our Virtual Machine templates for AuroraCompute

Resources

License

Releases

No releases published

Packages

No packages published