{"id":16288406,"url":"https://github.com/skyplabs/packer-centos","last_synced_at":"2025-10-07T00:09:48.493Z","repository":{"id":145921078,"uuid":"40038152","full_name":"SkypLabs/packer-centos","owner":"SkypLabs","description":"Create CentOS images for different hypervisors with Packer","archived":false,"fork":false,"pushed_at":"2019-12-22T04:31:46.000Z","size":32,"stargazers_count":18,"open_issues_count":3,"forks_count":17,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-06-17T08:02:14.927Z","etag":null,"topics":["centos","hypervisors","kvm","packer","vagrant","virtualbox","vmware"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkypLabs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"SkypLabs","custom":["https://blog.skyplabs.net/support/","https://paypal.me/skyplabs"]}},"created_at":"2015-08-01T06:45:43.000Z","updated_at":"2022-09-01T13:06:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"23e4cb83-14e6-4a03-b9f5-1b16141e5d13","html_url":"https://github.com/SkypLabs/packer-centos","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/SkypLabs/packer-centos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fpacker-centos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fpacker-centos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fpacker-centos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fpacker-centos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkypLabs","download_url":"https://codeload.github.com/SkypLabs/packer-centos/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkypLabs%2Fpacker-centos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278699111,"owners_count":26030458,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["centos","hypervisors","kvm","packer","vagrant","virtualbox","vmware"],"created_at":"2024-10-10T19:48:12.156Z","updated_at":"2025-10-07T00:09:48.400Z","avatar_url":"https://github.com/SkypLabs.png","language":"Shell","funding_links":["https://github.com/sponsors/SkypLabs","https://blog.skyplabs.net/support/","https://paypal.me/skyplabs"],"categories":[],"sub_categories":[],"readme":"# Packer CentOS\n\nThis repository contains files used by [Packer][packer] to create CentOS images for different hypervisors.\n\n## Hypervisors supported\n\n* VirtualBox (`vbox`)\n* VMware (`vmware`)\n* KVM (`kvm`)\n\n## Vagrant support\n\nIn order to create an image to be used with [Vagrant][vagrant], you need to use one of these builders:\n\n* `vbox4vagrant`\n* `vmware4vagrant`\n* `kvm4vagrant`\n\n## Variables available\n\n    Optional variables and their defaults:\n\n      build_number      = {{timestamp}}\n      centos_arch       = x86_64\n      disk_size         = 10000\n      headless          = true\n      iso_base_url      = http://ftp.heanet.ie/pub/centos\n      iso_checksum_type = sha256\n      password          = password\n      timeout           = 30m\n      username          = root\n\nIn addition, several variable files are available to precise which version of CentOS should be used via the Packer `-var-file` option.\n\n## Use this template behind a proxy\n\nIn order to use this template behind an *explicit proxy*, you need to add this last one in some files:\n\n* In the kickstart file:\n\n        url --mirrorlist=\"http://mirrorlist.centos.org/?release=$releasever\u0026arch=$basearch\u0026repo=os\" --proxy=\u003cexplicit proxy\u003e\n\n* In the `*-tools.sh` scripts, you need to add an option to the `yum` command:\n\n        # Install dependencies\n        yum --setopt=proxy=\u003cexplicit proxy\u003e install -y ...\n\n* In the `vagrant.sh` script, before the `curl` command:\n\n        # Download the insecure public key from GitHub official repository\n        export https_proxy=\u003cexplicit proxy\u003e\n        curl \\\n            --location \\\n            --output /home/vagrant/.ssh/authorized_keys \\\n            https://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub\n\n## Examples\n\nTo create an image of CentOS 7 with all the hypervisors, including Vagrant images:\n\n    packer build -var-file centos7.json packer-centos.json\n\nTo create an image of CentOS 6 with all the hypervisors, including Vagrant images:\n\n    packer build -var-file centos6.json packer-centos.json\n\nTo create a Vagrant CentOS 7 image only with VirtualBox and overwrite some default variables' value (here, `headless` and `timeout`):\n\n    packer build -only vbox4vagrant -var 'headless=false' -var 'timeout=1h' -var-file centos7.json packer-centos.json\n\n## License\n\n[MIT][license]\n\n [packer]: https://packer.io/\n [vagrant]: https://www.vagrantup.com/\n [license]: http://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyplabs%2Fpacker-centos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyplabs%2Fpacker-centos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyplabs%2Fpacker-centos/lists"}