An open API service indexing awesome lists of open source software.

https://github.com/dontlaugh/packer-plugin-incuschroot

Build Incus container or VM images in a remote chroot with Packer (experimental: you probably want https://github.com/bketelsen/packer-plugin-incus)
https://github.com/dontlaugh/packer-plugin-incuschroot

incus packer-plugin

Last synced: about 1 year ago
JSON representation

Build Incus container or VM images in a remote chroot with Packer (experimental: you probably want https://github.com/bketelsen/packer-plugin-incus)

Awesome Lists containing this project

README

          

# Packer Plugin Incus Chroot

Goal: build disk images in a chroot on a pre-existing VM.

_Note: this is a brand new (Sep 2024) fork of the LXD plugin. You probably want
[bketelsen/packer-plugin-incus](https://github.com/bketelsen/packer-plugin-incus)._

## Installation

### Using pre-built releases

#### Using the `packer init` command

packer init not yet supported

Starting from version 1.7, Packer supports a new `packer init` command allowing
automatic installation of Packer plugins. Read the
[Packer documentation](https://www.packer.io/docs/commands/init) for more information.

To install this plugin, copy and paste this code into your Packer configuration .
Then, run [`packer init`](https://www.packer.io/docs/commands/init).

```hcl
packer {
required_plugins {
incus = {
version = ">= 1.0.0"
source = "github.com/dontlaugh/incuschroot"
}
}
}
```

## Development

Get the sdc tool from Hashicorp.

```
make install-packer-sdc
```

Then see [HACKING.md](./HACKING.md)