跳到正文

libvirt ​

A Pulumi provider that lets you provision servers on a libvirt host using Pulumi.

See the full API documentation for complete details of the available libvirt provider APIs.

Requirements ​

Please note, there is a requirement to have libvirt on the machine using the libvirt provider. You can install this as follows:

bash
$ brew install libvirt

Example ​

typescript
import * as libvirt from "@pulumi/libvirt";

const myPool = new libvirt.Pool("test", {
  type: "dir",
  path: "/home/user/cluster_storage"
})

Libraries ​

The following packages are available in packager managers:

The libvirt provider is open source and available in the pulumi/pulumi-libvirt repo.

文档内容翻译自 Pulumi 官方文档。