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)
- Host: GitHub
- URL: https://github.com/dontlaugh/packer-plugin-incuschroot
- Owner: dontlaugh
- License: other
- Created: 2024-09-08T19:47:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T02:23:28.000Z (about 1 year ago)
- Last Synced: 2025-04-20T15:00:07.547Z (about 1 year ago)
- Topics: incus, packer-plugin
- Language: Go
- Homepage:
- Size: 477 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)