updated packer templates for new proxmox cluster
This commit is contained in:
@@ -12,8 +12,8 @@ vm_cpu_cores = "4"
|
|||||||
vm_mem_size = "4096"
|
vm_mem_size = "4096"
|
||||||
vm_disk_size = "32"
|
vm_disk_size = "32"
|
||||||
|
|
||||||
proxmox_bridge = "vmbr1"
|
proxmox_bridge = "vmbr0"
|
||||||
proxmox_vlan = "71"
|
#proxmox_vlan = "71"
|
||||||
|
|
||||||
ssh_username = "wed"
|
ssh_username = "wed"
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ vm_cpu_cores = "2"
|
|||||||
vm_mem_size = "4096"
|
vm_mem_size = "4096"
|
||||||
vm_disk_size = "16"
|
vm_disk_size = "16"
|
||||||
|
|
||||||
proxmox_bridge = "vmbr1"
|
proxmox_bridge = "vmbr0"
|
||||||
proxmox_vlan = "71"
|
#proxmox_vlan = "71"
|
||||||
|
|
||||||
ssh_username = "wed"
|
ssh_username = "wed"
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ vm_cpu_cores = "2"
|
|||||||
vm_mem_size = "2048"
|
vm_mem_size = "2048"
|
||||||
vm_disk_size = "8"
|
vm_disk_size = "8"
|
||||||
|
|
||||||
proxmox_bridge = "vmbr1"
|
proxmox_bridge = "vmbr0"
|
||||||
proxmox_vlan = "71"
|
#proxmox_vlan = ""
|
||||||
|
|
||||||
ssh_username = "wed"
|
ssh_username = "wed"
|
||||||
|
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ vm_cpu_cores = "4"
|
|||||||
vm_mem_size = "8192"
|
vm_mem_size = "8192"
|
||||||
vm_disk_size = "128"
|
vm_disk_size = "128"
|
||||||
|
|
||||||
proxmox_bridge = "vmbr1"
|
proxmox_bridge = "vmbr0"
|
||||||
proxmox_vlan = "71"
|
#proxmox_vlan = "71"
|
||||||
|
|
||||||
ssh_username = "wed"
|
ssh_username = "wed"
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ source "proxmox-iso" "fedora-kickstart" {
|
|||||||
network_adapters {
|
network_adapters {
|
||||||
model = "virtio"
|
model = "virtio"
|
||||||
bridge = "${var.proxmox_bridge}"
|
bridge = "${var.proxmox_bridge}"
|
||||||
vlan_tag = "${var.proxmox_vlan}"
|
# vlan_tag = "${var.proxmox_vlan}"
|
||||||
firewall = "true"
|
firewall = "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ proxmox_username = "root@pam"
|
|||||||
ssh_username = "wed"
|
ssh_username = "wed"
|
||||||
|
|
||||||
# Proxmox Objects
|
# Proxmox Objects
|
||||||
proxmox_node = "pve03"
|
proxmox_node = "fantasyland"
|
||||||
proxmox_domain = "int.mk-labs.cloud"
|
proxmox_domain = "local.mk-labs.cloud"
|
||||||
proxmox_vm_storage_pool = "pve-templates"
|
proxmox_vm_storage_pool = "mk-templates"
|
||||||
#proxmox_insecure_connection = false #Default: true
|
#proxmox_insecure_connection = false #Default: true
|
||||||
proxmox_iso_storage_pool = "local"
|
proxmox_iso_storage_pool = "local"
|
||||||
|
|
||||||
|
|||||||
@@ -78,10 +78,10 @@ variable "proxmox_bridge" {
|
|||||||
description = "The Proxmox bridge the NIC connects to."
|
description = "The Proxmox bridge the NIC connects to."
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "proxmox_vlan" {
|
#variable "proxmox_vlan" {
|
||||||
type = number
|
# type = number
|
||||||
description = "The VLAN the NIC is on."
|
# description = "The VLAN the NIC is on."
|
||||||
}
|
#}
|
||||||
|
|
||||||
variable "vm_boot_wait" {
|
variable "vm_boot_wait" {
|
||||||
type = string
|
type = string
|
||||||
|
|||||||
Reference in New Issue
Block a user