{"id":18302283,"url":"https://github.com/outscale/omi-packer","last_synced_at":"2026-03-05T20:46:29.450Z","repository":{"id":37443715,"uuid":"386572675","full_name":"outscale/omi-packer","owner":"outscale","description":"Creates fully working Outscale Machine Images using Packer and shell scripts","archived":false,"fork":false,"pushed_at":"2024-11-26T13:14:21.000Z","size":891,"stargazers_count":7,"open_issues_count":4,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-12T08:05:53.308Z","etag":null,"topics":["maturity-graduated"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outscale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-16T08:54:06.000Z","updated_at":"2025-03-21T05:03:23.000Z","dependencies_parsed_at":"2023-02-18T09:45:18.369Z","dependency_job_id":"d698d7f2-bc76-4328-97e2-763920c51eb5","html_url":"https://github.com/outscale/omi-packer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/outscale/omi-packer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fomi-packer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fomi-packer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fomi-packer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fomi-packer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outscale","download_url":"https://codeload.github.com/outscale/omi-packer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fomi-packer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30149845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["maturity-graduated"],"created_at":"2024-11-05T15:18:51.463Z","updated_at":"2026-03-05T20:46:29.413Z","avatar_url":"https://github.com/outscale.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Project Graduated](https://docs.outscale.com/fr/userguide/_images/Project-Graduated-green.svg)](https://docs.outscale.com/en/userguide/Open-Source-Projects.html)\n\n# OMI Builder\nThis project creates fully working Outscale Machine Images using Packer and shell scripts.\n\nIt requires an already working Rocky Linux 8 image on the destination Outscale Region (for Linux images) or a working Windows Golden Image in the corresponding version of wanted Windows image (for Windows images).\n\n## Requirements\n * [Packer](https://www.packer.io/downloads) (\u003e= 1.8.3)\n\n## Usage\nSet the following environment variables:\n```bash\nexport OUTSCALE_ACCESSKEYID=\u003cACCESS_KEY\u003e\nexport OUTSCALE_SECRETKEYID=\u003cSECRET_KEY\u003e\nexport OUTSCALE_REGION=eu-west-2 # Outscale Region\nexport OMI_NAME=\u003cOMI_NAME\u003e\n```\nAnd, for Linux images only:\n```bash\nexport SCRIPT_BASE=centos8 # Any script located in ./script/base/ without .sh extension\nexport SOURCE_OMI=ami-0dd0ab23 # A working CentOS 8 image\n```\nAnd, for Windows image only:\n```bash\nexport BASE_NAME=Windows-10 # Base name, only required for Windows OMI, see below\nexport PKR_VAR_volsize=50 # Size in GB of produced OMI\n```\nYou can then build the image using:\n```bash\npacker init -upgrade config.pkr.hcl\npacker build linux.pkr.hcl # for Linux image\npacker build windows.pkr.hcl # for Windows image\n```\n\n### Optional parameters\n```bash\nexport PKR_VAR_volsize=\u003cSIZE\u003e # OMI root volume size in GB, default is 10\nexport PKR_VAR_username=outscale # Builder VM SSH Username\n```\n\n## Available images\n### Linux\nLinux images requires a working CentOS 8 or equivalent image present on destination Region, with a username \"outscale\".   \nThis username can be changed by setting `PKR_VAR_username` environment variable to a different username.\n\nThe following Linux scripts are provided and can be used in `SCRIPT_BASE`:\n\n * centos7 (CentOS 7)\n * rocky8 (Rocky Linux 8)\n * rocky9 (Rocky Linux 9)\n * rhel8 (RedHat Enterprise Linux 8 without license)\n * rhel8csp (RedHat Enterprise Linux 8)\n * rhel9 (RedHat Enterprise Linux 9 without license)\n * rhel9csp (RedHat Enterprise Linux 9)\n * ubuntu2004 (Ubuntu 20.04)\n * ubuntu2204 (Ubuntu 22.04)\n * ubuntu2404 (Ubuntu 24.04)\n * debian11 (Debian 11)\n * debian12 (Debian 12)\n * arch (ArchLinux)\n * alma8 (AlmaLinux 8)\n * alma9 (AlmaLinux 9)\n * opensuse154 (OpenSuse 15.4)\n\n**Beware:** CSP images (rhel8scp) and (rhel9scp) requires edition of ./files/cloudinit-specific/05_rhelx.cfg to set a proper RedHat Satellite Server owned and configured by the customer itself.\nFailing to do so will result in a violation of Outscale Terms and Conditions.\n\n### Windows\nWindows images are required to be named `\u003cBASE_NAME\u003e-GOLDEN` in order to be recognized by the Packer scripts (eg. `Windows-10-GOLDEN`).  \nThis behaviour can be changed in `windows.pkr.hcl`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscale%2Fomi-packer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutscale%2Fomi-packer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscale%2Fomi-packer/lists"}