{"id":22454672,"url":"https://github.com/PCextreme/packer-templates","last_synced_at":"2025-08-02T02:31:37.879Z","repository":{"id":21337693,"uuid":"24654595","full_name":"PCextreme/packer-templates","owner":"PCextreme","description":"The packer templates we use to create our Virtual Machine templates for AuroraCompute","archived":false,"fork":false,"pushed_at":"2022-08-24T07:10:06.000Z","size":507,"stargazers_count":31,"open_issues_count":0,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-17T07:21:52.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"KindDragon/vld","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PCextreme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-30T20:35:08.000Z","updated_at":"2024-04-08T23:19:56.000Z","dependencies_parsed_at":"2022-08-20T23:00:44.295Z","dependency_job_id":null,"html_url":"https://github.com/PCextreme/packer-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PCextreme%2Fpacker-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PCextreme%2Fpacker-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PCextreme%2Fpacker-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PCextreme%2Fpacker-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PCextreme","download_url":"https://codeload.github.com/PCextreme/packer-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228426107,"owners_count":17917790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T07:08:50.679Z","updated_at":"2024-12-06T07:08:52.664Z","avatar_url":"https://github.com/PCextreme.png","language":"Shell","readme":"[![github-readme_header](https://cldin.eu/img/cldin-logo.png)](https://cldin.eu)\n\n# Compute Templates\n\nPacker template source for public templates available on the CLDIN cloud.\n\n## Requirements\nTo build these templates make sure you have the following tools installed:\n\n- packer (\u003e= 1.6.0)\n- make\n\n## Building\nAn example to build the Ubuntu 18.04 template:\n\n```bash\nmake build NAME=ubuntu-18.04\n```\n\n### Gitlab CI\nCLDIN uses Gitlab CI to build these templates. The .gitlab-ci.yml file can be found in this directory.\n\n#### Result / Downloads\nSuccesful builds of the master branch are uploaded to the S3 storage of CLDIN into a public bucket.\n\nThe resulting QCOW2 files can be found here: https://compute.o.auroraobjects.eu/\n\n## Cloudstack profiles\nUploading to Cloudstack is done with the help of an python CLI wrappen around the API, a profile is needed for this to work.\nTo 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`.\n\nThis variable should contain the following json encoded as base64, with at least 1 entry.\n```json\n[\n  {\n    \"name\": \"mymanager\",\n    \"endpoint\": \"https://cloud/api\",\n    \"key\": \"abc\",\n    \"secret\": \"xyz\"\n  }\n]\n```\n```bash\n% jq '.' profiles.json | base64 -w 0\nWwogIHsKICAgICJuYW1lIjogIm15bWFuYWdlciIsCiAgICAiZW5kcG9pbnQiOiAiaHR0cHM6Ly9jbG91ZC9hcGkiLAogICAgImtleSI6ICJhYmMiLAogICAgInNlY3JldCI6ICJ4eXoiCiAgfQpdCg==\n```\n\nThe config can be generated using [generate-cloudstack](bin/generate-cloudstack), which will append every entry to an ini file that will be used by the [register](bin/register) script.\n```ini\n[mymanager]\nendpoint = https://cloud/api\nkey = abc\nsecret = xyz\n```\n\n## ISO files and checksums\nAll the ISO files are stored on the S3 platform of CLDIN. This is to ensure URLs are stable and future-proof.\n\nThey all point to sub-paths of http://compute.o.auroraobjects.eu/iso/ where URL stability is ensured.\n\nChecksums 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.\n\n# Licensing\nThe CLDIN Packer Templates are licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for the full license text.\n","funding_links":[],"categories":["Packages and Templates"],"sub_categories":["Templates"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPCextreme%2Fpacker-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPCextreme%2Fpacker-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPCextreme%2Fpacker-templates/lists"}