so dope, no need to spin up containers manually

This commit is contained in:
Matt Reeves 2024-08-01 21:50:43 -04:00
parent 042c92b21f
commit bf210baa12
2 changed files with 3 additions and 11 deletions

View file

@ -1,10 +0,0 @@
#!/bin/bash
# Navigate to the directory
cd /home/mafyuh/iac/docker/kasm
# Pull the latest changes
git pull
# Run docker compose up -d
dcu

View file

@ -62,7 +62,9 @@ resource "proxmox_virtual_environment_vm" "Kasm" {
provisioner "remote-exec" { provisioner "remote-exec" {
inline = [ inline = [
"sudo bash /home/mafyuh/iac/docker/scripts/kasm.sh" "cd /home/mafyuh/iac/docker/kasm",
"git pull",
"docker compose up -d"
] ]
connection { connection {
type = "ssh" type = "ssh"