diff --git a/terraform/vsphere/main.tf b/terraform/vsphere/main.tf index 71747867..7a9afa3e 100644 --- a/terraform/vsphere/main.tf +++ b/terraform/vsphere/main.tf @@ -126,7 +126,7 @@ resource "vsphere_virtual_machine" "node" { disk { label = "disk0" - size = 51 + size = 128 } connection { diff --git a/vsphere-build/vsphere-build.sh b/vsphere-build/vsphere-build.sh index 7735047b..99d3836c 100755 --- a/vsphere-build/vsphere-build.sh +++ b/vsphere-build/vsphere-build.sh @@ -59,9 +59,9 @@ cat <./tmp/vsphere-rocky.json "vsphere-folder": "$vsphere_template_dir", "vm-name": "pxdeploy-template-build", "pxd-templateid": "$PXDTEMPLATEID", - "vm-cpu-num": "4", - "vm-mem-size": "8192", - "vm-disk-size": "52000", + "vm-cpu-num": "$vsphere_cpu", + "vm-mem-size": "$vsphere_memory", + "vm-disk-size": "$vsphere_disks", "iso_url": "https://dl.rockylinux.org/vault/rocky/9.5/isos/x86_64/Rocky-9.5-x86_64-minimal.iso", "kickstart_file": "/vsphere-ks.cfg" },