Fix paths
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-21 16:33:11 +02:00
parent 1459e6dead
commit 83baeefea0

View File

@ -273,12 +273,12 @@ build {
only = ["vsphere-iso.srv2019-virtual"] only = ["vsphere-iso.srv2019-virtual"]
inline = [ inline = [
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\", "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}'}\"", " -Parameter @{'appliance.name'='${var.vm_guestos}';'appliance.version'='${var.vm_name}'}\"",
"pwsh -file scripts/Update-Manifest.ps1 \\", "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 \\", "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" " /output/Windows-Server-2019-LTSC.ova"
] ]
} }
@ -287,9 +287,9 @@ build {
inline = [ inline = [
"qemu-img convert -f vmdk -O raw \\", "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}-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 \\", "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" " > /output/Windows-Server-2019-LTSC.raw.gz"
] ]
} }