{"id":30545447,"url":"https://github.com/hashicorp/packer-plugin-kubevirt","last_synced_at":"2026-01-20T17:38:54.211Z","repository":{"id":311876615,"uuid":"1044368007","full_name":"hashicorp/packer-plugin-kubevirt","owner":"hashicorp","description":"Packer plugin for building KubeVirt images","archived":false,"fork":false,"pushed_at":"2025-08-27T06:10:45.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T15:07:15.306Z","etag":null,"topics":["doormat-managed"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-08-25T15:19:46.000Z","updated_at":"2025-08-26T06:15:27.000Z","dependencies_parsed_at":"2025-08-27T15:07:38.177Z","dependency_job_id":"2da21521-e45d-4f15-93a4-45303b1caa86","html_url":"https://github.com/hashicorp/packer-plugin-kubevirt","commit_stats":null,"previous_names":["hashicorp/packer-plugin-kubevirt"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hashicorp/packer-plugin-kubevirt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fpacker-plugin-kubevirt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fpacker-plugin-kubevirt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fpacker-plugin-kubevirt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fpacker-plugin-kubevirt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/packer-plugin-kubevirt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fpacker-plugin-kubevirt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272402948,"owners_count":24928798,"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-08-27T02:00:09.397Z","response_time":76,"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":["doormat-managed"],"created_at":"2025-08-28T00:13:46.951Z","updated_at":"2026-01-20T17:38:54.205Z","avatar_url":"https://github.com/hashicorp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Packer Plugin KubeVirt\n\nThe `KubeVirt` plugin can be used with [HashiCorp Packer](https://www.packer.io) to create KubeVirt images.\n\n**Note**: This plugin is under development and is not production ready.\n\n## Packer\n\n[Packer](https://developer.hashicorp.com/packer) is a tool for creating identical machine images from a single source template.\n\nTo get started, see the [Packer installation guide](https://developer.hashicorp.com/packer/install).\n\n## Prerequisites\n\n- [Packer](https://packer.io)\n- [Kubernetes](https://kubernetes.io) with [KubeVirt](https://kubevirt.io) installed\n\n## Plugin Features\n\n- **HCL Templating** – Use HashiCorp Configuration Language (HCL2) for defining infrastructure as code.\n- **ISO Installation** – Build VM golden images from ISO using the `kubevirt-iso` builder.\n- **ISO Media Files** – Embed additional files into installation process (e.g. `ks.cfg` or `unattend.xml`).\n- **Boot Command** – Automate the VM boot process using a set of commands (via a VNC connection).\n- **Integrated SSH/WinRM Access** – Allows VM provisioning and customization via SSH or WinRM.\n\n## Components\n\n- `kubevirt-iso` - This builder starts from a ISO file and builds virtual machine image on a KubeVirt cluster.\n\n### Design\n\n\u003cimg src=\"docs/kubevirt-iso-builder-design.jpg\" alt=\"Design\" width=\"400\"/\u003e\n\n## Installation\n\n### Automatic Installation\n\nPacker supports automatic installation of the Packer plugins.\n\nTo install this plugin, copy and paste this code into your Packer configuration:\n\n```hcl\npacker {\n  required_plugins {\n    kubevirt = {\n      source  = \"github.com/hashicorp/kubevirt\"\n      version = \"\u003e= 0.8.0\"\n    }\n  }\n}\n```\n\nAnd now run `packer init` command. The plugin will be installed automatically.\n\n### Manual Installation\n\nDownload the latest release from the [Releases](https://github.com/hashicorp/packer-plugin-kubevirt/releases) page and then install the plugin:\n\n```shell\n$ packer plugins install --path packer-plugin-kubevirt github.com/hashicorp/kubevirt\n```\n\n### Building From Source\n\nClone the repository and build the plugin from the root directory:\n\n```shell\n$ go build -ldflags=\"-X github.com/hashicorp/packer-plugin-kubevirt/version.Version=0.7.0\" -o packer-plugin-kubevirt\n```\n\nThen install the compiled plugin:\n\n```shell\n$ packer plugins install --path packer-plugin-kubevirt github.com/hashicorp/kubevirt\n```\n\n## Usage\n\nRefer to the usage guidance in the [examples](./examples/builder/kubevirt-iso) of this plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fpacker-plugin-kubevirt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashicorp%2Fpacker-plugin-kubevirt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashicorp%2Fpacker-plugin-kubevirt/lists"}