diff options
| author | jerome <jerome@xlinfo.fr> | 2025-05-22 22:49:54 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-05-22 22:49:54 +0200 |
| commit | 0134feea766d9fd7927100b98c80557b254dce0c (patch) | |
| tree | eba350c280e2195a775a21a6cb9b3a0a963b6d52 | |
| parent | 53e1f4ad77b920acc6e3308e1061a4772d9c072d (diff) | |
| download | proxmox_lxc-0134feea766d9fd7927100b98c80557b254dce0c.tar.gz proxmox_lxc-0134feea766d9fd7927100b98c80557b254dce0c.zip | |
remote_exec
| -rw-r--r-- | container/main.tf | 3 |
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" ] } } |
