Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit cecc6f2

Browse files
committed
fix: [#28] resolve e2e testing blockers for local development
- Fix markdown linting error in grafana-subdomain-setup.md (MD029/ol-prefix) * Change ordered list numbering from '2.' to '1.' for proper sequence - Fix libvirt cloud-init template variable passing in main.tf * Add missing 'use_minimal = var.use_minimal_config' parameter * Ensures cloud-init templates receive all required variables These fixes enable successful e2e testing in local development environments and ensure consistent template rendering across different deployment modes.
1 parent a9c94e9 commit cecc6f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/guides/grafana-subdomain-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ cd /home/torrust/github/torrust/torrust-tracker-demo/application
119119
docker compose --env-file /var/lib/torrust/compose/.env exec proxy nginx -s reload
120120
```
121121

122-
2. **Test the subdomain:**
122+
1. **Test the subdomain:**
123123

124124
```bash
125125
# From your local machine

infrastructure/terraform/providers/libvirt/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ resource "libvirt_cloudinit_disk" "commoninit" {
5656
name = "${var.vm_name}-cloudinit.iso"
5757
user_data = templatefile("${path.module}/../../../cloud-init/${var.use_minimal_config ? "user-data-minimal.yaml.tpl" : "user-data.yaml.tpl"}", {
5858
ssh_public_key = var.ssh_public_key
59+
use_minimal = var.use_minimal_config
5960
})
6061
meta_data = templatefile("${path.module}/../../../cloud-init/meta-data.yaml", {
6162
hostname = var.vm_name

0 commit comments

Comments
 (0)