chore(registry): Added profile and Incus instance template#809
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new community template under registry/l-nmch for provisioning Coder workspaces as Incus instances (VMs or containers), including cloud-init configuration and a contributor profile README.
Changes:
- Introduces an
incus-instanceTerraform template that provisions an Incus instance and installs/starts the Coder agent via cloud-init. - Adds a cloud-init
user-datatemplate for user creation, package install, and a systemd unit for the Coder agent. - Adds
registry/l-nmch/README.mdcontributor profile metadata and template documentation.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| registry/l-nmch/templates/incus-instance/main.tf | Defines providers/variables, renders cloud-init, and provisions the Incus instance + code-server module. |
| registry/l-nmch/templates/incus-instance/cloud-init/user-data.tftpl | Cloud-init that creates the Linux user and installs/starts the Coder agent service. |
| registry/l-nmch/templates/incus-instance/README.md | Template documentation and usage instructions. |
| registry/l-nmch/README.md | New contributor profile frontmatter and basic profile text. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: DevCats <chris@dualriver.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
I will go ahead and test this this out, and provide some final feedback on this before we can merge. |
|
@l-nmch Can you run |
|
Closing this because we took this on internally and now have 3 separate incus templates in the registry at the moment. If you would like to fill any of the gaps we would be happy to review any further templates 😸 |
Description
Added a template to deploy workspaces on Incus servers / clusters
Type of Change
Template Information
Path:
registry/l-nmch/templates/incus-instanceTesting & Validation
bun test)bun fmt)Related Issues
None