Automic VaultAutomic Vault

brew

使用 Homebrew 安装 terraform-provider-libvirt

查看 terraform-provider-libvirt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terraform-provider-libvirt

local Homebrew formula metadata

概览

软件包摘要

Terraform provisioning with Linux KVM using libvirt

命令和别名

  • terraform-provider-libvirt

历史

项目历史与用法

terraform-provider-libvirt is a Terraform provider for managing local or remote libvirt virtualization resources such as virtual machines, networks, storage pools, and volumes.

项目历史

The project dates to February 2016, making it one of the older community Terraform providers for local virtualization. Its purpose is to let Terraform manage Linux KVM/libvirt infrastructure through provider resources rather than ad hoc shell scripts or virt-manager workflows.

The current README describes v0.9.0 and later as a complete rewrite of the legacy provider. The legacy v0.8 branch remains available, while the rewritten provider is built on the Terraform Plugin Framework and models libvirt XML schemas more directly through libvirtxml.

采用历史

The provider has long occupied a practical niche for homelab, workstation, CI, and private-cloud users who want Terraform workflows without a public cloud control plane. The GitHub repository has a large star count for a community provider, and Homebrew packages current releases as a convenient way to install the provider binary outside Terraform's normal provider installer paths.

Its documentation now points users to both the Terraform Registry and the OpenTofu registry, reflecting the post-Terraform-fork packaging world where provider consumers may use either registry ecosystem.

使用方式

Users declare `dmacvicar/libvirt` as a required provider and configure a libvirt URI such as `qemu:///system`, `qemu+ssh://.../system`, `qemu+sshcmd://.../system`, or `qemu+tls://.../system`. The provider then manages domains, networks, pools, and volumes using HCL that maps closely to libvirt XML.

The README also documents local development installation under `~/.terraform.d/plugins/registry.terraform.io/dmacvicar/libvirt/dev/linux_amd64/` with a Terraform CLI dev override, which matters to packagers and provider developers testing local builds.

为什么软件包爱好者会关心

For package nerds, terraform-provider-libvirt is a classic non-cloud Terraform provider with awkward packaging edges: it is both a Terraform registry provider and a Homebrew formula, depends on libvirt concepts, and bridges the Terraform provider installation model with local virtualization workflows.

时间线

  • 2016: GitHub repository created.
  • 2026: v0.9.x releases continue the rewritten Terraform Plugin Framework provider line.
  • 2026: Homebrew packages v0.9.8.

Related projects

  • libvirt, KVM, and QEMU are the virtualization stack managed by the provider.
  • Terraform Registry and OpenTofu Registry are the documented provider distribution surfaces.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:provision

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
terraform-provider-libvirtcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.9.8
管理器更新时间2026-05-31
本地数据OK
上游当前
检测到的最新版本v0.9.8

https://github.com/dmacvicar/terraform-provider-libvirt

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:terraform-provider-libvirt
版本0.9.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terraform-provider-libvirt
主页https://github.com/dmacvicar/terraform-provider-libvirt
仓库https://github.com/dmacvicar/terraform-provider-libvirt
上游文档https://github.com/dmacvicar/terraform-provider-libvirt#readme
许可证Apache-2.0
源码归档https://github.com/dmacvicar/terraform-provider-libvirt/archive/refs/tags/v0.9.8.tar.gz
最后更新2026-05-31T16:11:41Z
Pulseupdated
依赖libvirt
构建依赖go, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-provider-libvirt
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment