Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 879 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 879 Bytes

The LXD plugin allows building containers for LXD, by starting an LXD container, running provisioners within this container, then saveing the container as an LXD image.

Installation

To install this plugin, copy and paste this code into your Packer configuration, then run packer init.

packer {
  required_plugins {
    lxd = {
      source  = "github.com/hashicorp/lxd"
      version = "~> 1"
    }
  }
}

Alternatively, you can use packer plugins install to manage installation of this plugin.

$ packer plugins install github.com/hashicorp/lxd

Components

Builders

  • lxd - The LXD builder builds containers with LXD by starting a container, provisioning it, and exporting it as a tar.gz archive of the root file system.