summaryrefslogtreecommitdiff
path: root/container/main.tf
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-05-22 22:49:54 +0200
committerjerome <jerome@xlinfo.fr>2025-05-22 22:49:54 +0200
commit0134feea766d9fd7927100b98c80557b254dce0c (patch)
treeeba350c280e2195a775a21a6cb9b3a0a963b6d52 /container/main.tf
parent53e1f4ad77b920acc6e3308e1061a4772d9c072d (diff)
downloadproxmox_lxc-0134feea766d9fd7927100b98c80557b254dce0c.tar.gz
proxmox_lxc-0134feea766d9fd7927100b98c80557b254dce0c.zip
remote_exec
Diffstat (limited to 'container/main.tf')
-rw-r--r--container/main.tf3
1 files changed, 2 insertions, 1 deletions
diff --git a/container/main.tf b/container/main.tf
index cc833bb..16429d3 100644
--- a/container/main.tf
+++ b/container/main.tf
@@ -66,7 +66,8 @@ resource "proxmox_lxc" "stagiaire" {
timeout = "5m"
}
inline = [
- "touch terraform_ok"
+ "dnf install -y httpd && systemctl enable --now httpd || true",
+ "apt update && apt install -y apache2 || true"
]
}
}