|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
source "vmware-iso" "msvsphere-9-ovf-x86_64" {
|
|
|
|
|
vm_name = "MSVSphere-${var.os_version_9}-${formatdate("YYYYMMDD", timestamp())}.ovf.x86_64"
|
|
|
|
|
vm_name = "msvsphere-9.4"
|
|
|
|
|
iso_url = var.iso_url_9_x86_64
|
|
|
|
|
iso_checksum = var.iso_checksum_9_x86_64
|
|
|
|
|
boot_command = var.ovf_boot_cmd_9_x86_64_bios
|
|
|
|
@ -49,11 +49,4 @@ build {
|
|
|
|
|
"packer_provider=${source.type}"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
post-processor "shell-local"{
|
|
|
|
|
inline = ["rm -rf vmware-iso.msvsphere-9-ovf-x86_64_ovf",
|
|
|
|
|
"mkdir vmware-iso.msvsphere-9-ovf-x86_64_ovf",
|
|
|
|
|
"/usr/lib/vmware-ovftool/ovftool --machineOutput --X:logFile=./ovftool.log --X:logLevel=verbose --exportFlags=extraconfig --allowExtraConfig --X:vCloudEnableGuestCustomization ./output-msvsphere-9-ovf-x86_64/MSVSphere-${var.os_version_9}-${formatdate("YYYYMMDD", timestamp())}.ovf.x86_64.vmx ./vmware-iso.msvsphere-9-ovf-x86_64_ovf"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|