Skip to content

Commit

Permalink
change to debian
Browse files Browse the repository at this point in the history
  • Loading branch information
florianBachinger committed Oct 28, 2024
1 parent 4658d79 commit 8bf4c1d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 27 deletions.
14 changes: 7 additions & 7 deletions kubernetes/terraform/vm_cloud_image.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# file_name = "Ubuntu_noble-server-cloudimg_managed_by_spa_terraform_runner_do_not_delete.img"
# }

# resource "proxmox_virtual_environment_download_file" "cloud_image" {
# content_type = "iso"
# datastore_id = "local"
# node_name = var.node_name
# url = "https://cdimage.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
# file_name = "debian-12-cloudimg_managed_by_spa_terraform_runner_do_not_delete.img"
# }
resource "proxmox_virtual_environment_download_file" "cloud_image" {
content_type = "iso"
datastore_id = "local"
node_name = var.node_name
url = "https://cdimage.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
file_name = "debian-12-cloudimg_managed_by_spa_terraform_runner_do_not_delete.img"
}

# resource "proxmox_virtual_environment_download_file" "cloud_image" {
# content_type = "iso"
Expand Down
10 changes: 5 additions & 5 deletions kubernetes/terraform/vm_control_planes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ resource "proxmox_virtual_environment_vm" "k8s_cp" {
vlan_id = var.vlan_id
}

clone {
vm_id = 100
retries = 10
}
# clone {
# vm_id = 100
# retries = 10
# }

disk {
datastore_id = "dellsan"
# file_id = proxmox_virtual_environment_download_file.cloud_image.id
file_id = proxmox_virtual_environment_download_file.cloud_image.id
interface = "ide0"
size = 40
}
Expand Down
10 changes: 5 additions & 5 deletions kubernetes/terraform/vm_large_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ resource "proxmox_virtual_environment_vm" "k8s_worker_large" {
vlan_id = var.vlan_id
}

clone {
vm_id = 107
retries = 10
}
# clone {
# vm_id = 100
# retries = 10
# }

disk {
datastore_id = "dellsan"
# file_id = proxmox_virtual_environment_download_file.cloud_image.id
file_id = proxmox_virtual_environment_download_file.cloud_image.id
interface = "ide0"
size = 40
}
Expand Down
11 changes: 6 additions & 5 deletions kubernetes/terraform/vm_medium_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ resource "proxmox_virtual_environment_vm" "k8s_worker_medium" {
vlan_id = var.vlan_id
}

clone {
vm_id = 109
retries = 10
}

# clone {
# vm_id = 100
# retries = 10
# }

disk {
datastore_id = "dellsan"
# file_id = proxmox_virtual_environment_download_file.cloud_image.id
file_id = proxmox_virtual_environment_download_file.cloud_image.id
interface = "ide0"
size = 40
}
Expand Down
10 changes: 5 additions & 5 deletions kubernetes/terraform/vm_small_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ resource "proxmox_virtual_environment_vm" "k8s_worker_small" {
vlan_id = var.vlan_id
}

clone {
vm_id = 104
retries = 10
}
# clone {
# vm_id = 100
# retries = 10
# }

disk {
datastore_id = "dellsan"
# file_id = proxmox_virtual_environment_download_file.cloud_image.id
file_id = proxmox_virtual_environment_download_file.cloud_image.id
interface = "ide0"
size = 40
}
Expand Down

0 comments on commit 8bf4c1d

Please sign in to comment.