This commit is contained in:
parent
1459e6dead
commit
83baeefea0
@ -273,12 +273,12 @@ build {
|
||||
only = ["vsphere-iso.srv2019-virtual"]
|
||||
inline = [
|
||||
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\",
|
||||
" -OVFFile '/scratch/srv2019-virtual/${var.vm_guestos}-${var.vm_name}-v.ovf' \\",
|
||||
" -OVFFile '/scratch/srv2019-virtual/${var.vm_guestos}-${var.vm_name}-virtual.ovf' \\",
|
||||
" -Parameter @{'appliance.name'='${var.vm_guestos}';'appliance.version'='${var.vm_name}'}\"",
|
||||
"pwsh -file scripts/Update-Manifest.ps1 \\",
|
||||
" -ManifestFileName '/scratch/srv2019-virtual/${var.vm_guestos}-${var.vm_name}-v.mf'",
|
||||
" -ManifestFileName '/scratch/srv2019-virtual/${var.vm_guestos}-${var.vm_name}-virtual.mf'",
|
||||
"ovftool --acceptAllEulas --allowExtraConfig --overwrite \\",
|
||||
" '/scratch/srv2019-virtual/${var.vm_guestos}-${var.vm_name}-v.ovf' \\",
|
||||
" '/scratch/srv2019-virtual/${var.vm_guestos}-${var.vm_name}-virtual.ovf' \\",
|
||||
" /output/Windows-Server-2019-LTSC.ova"
|
||||
]
|
||||
}
|
||||
@ -287,9 +287,9 @@ build {
|
||||
inline = [
|
||||
"qemu-img convert -f vmdk -O raw \\",
|
||||
" /scratch/srv2019-baremetal/${var.vm_guestos}-${var.vm_name}-baremetal-disk-0.vmdk \\",
|
||||
" /scratch/srv2019-baremetal/${var.vm_guestos}-${var.vm_name}.raw",
|
||||
" /tmp/srv2019-baremetal/${var.vm_guestos}-${var.vm_name}.raw",
|
||||
"gzip -c \\",
|
||||
" /scratch/srv2019-baremetal/${var.vm_guestos}-${var.vm_name}.raw \\",
|
||||
" /tmp/srv2019-baremetal/${var.vm_guestos}-${var.vm_name}.raw \\",
|
||||
" > /output/Windows-Server-2019-LTSC.raw.gz"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user