so dope, no need to spin up containers manually
This commit is contained in:
parent
042c92b21f
commit
bf210baa12
2 changed files with 3 additions and 11 deletions
|
@ -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
|
|
@ -62,7 +62,9 @@ resource "proxmox_virtual_environment_vm" "Kasm" {
|
|||
|
||||
provisioner "remote-exec" {
|
||||
inline = [
|
||||
"sudo bash /home/mafyuh/iac/docker/scripts/kasm.sh"
|
||||
"cd /home/mafyuh/iac/docker/kasm",
|
||||
"git pull",
|
||||
"docker compose up -d"
|
||||
]
|
||||
connection {
|
||||
type = "ssh"
|
||||
|
|
Loading…
Reference in a new issue