packer-xcp-ng/README.md

27 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2023-04-15 15:05:02 +02:00
FORKED FROM https://github.com/ddelnano/packer-plugin-xenserver
2023-02-14 15:48:24 +01:00
2023-04-15 15:05:02 +02:00
The binary must be compiled before usage.
I remove the code to plug the guest-tools disk, to have a working Debian install. Tools are installed in the end of the installation (see preseed configuration)
# XCP-ng packer.io builder
This builder plugin extends packer.io to support building images for XCP-ng.
2023-02-14 15:48:24 +01:00
This is a fork of the original builder since the original project was abandoned and no longer compilied with recent versions of Go or worked with Xenserver 7.6 and later.
It improves the original project in the following ways:
1. Developed alongside the [Xenorchestra terraform provider](https://github.com/ddelnano/terraform-provider-xenorchestra) to ensure the hashicorp ecosystem is interoperable.
2. Reimplements how the boot commands are sent over VNC to be compatible with later versions of Xenserver (Citrix hypervisor) and XCP
## Compile the plugin
Once you have installed Packer, you must compile this plugin and install the
resulting binary.
```shell
2023-04-15 15:05:02 +02:00
$ go build -o packer-plugin-xcp-ng
2023-02-14 15:48:24 +01:00
# Add the builder to the location packer expects it to be installed in
$ mkdir -p ~/.packer.d/plugins/
2023-04-15 15:05:02 +02:00
$ cp packer-plugin-xcp-ng ~/.packer.d/plugins/packer-plugin-xcp-ng
```