We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a90744 commit aa758afCopy full SHA for aa758af
terraform/kasm.tf
@@ -36,7 +36,7 @@ resource "proxmox_virtual_environment_vm" "Kasm" {
36
# VM Disk Settings
37
disk {
38
datastore_id = "local-lvm"
39
- size = 151
+ size = 149
40
interface = "scsi0"
41
}
42
@@ -59,4 +59,18 @@ resource "proxmox_virtual_environment_vm" "Kasm" {
59
initialization[0].user_data_file_id
60
]
61
62
+
63
+ provisioner "remote-exec" {
64
+ inline = [
65
+ "cd /home/mafyuh/iac/docker/kasm",
66
+ "git pull",
67
+ "docker compose up -d"
68
+ ]
69
+ connection {
70
+ type = "ssh"
71
+ user = "mafyuh"
72
+ private_key = file("/home/mafyuh/.ssh/id_rsa")
73
+ host = var.kasm_ssh_ip
74
+ }
75
+}
76
0 commit comments