Fix source names for only keys
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-17 11:35:48 +02:00
parent 236db40016
commit e5880c222e

View File

@ -131,7 +131,7 @@ build {
] ]
provisioner "ansible" { provisioner "ansible" {
only = ["source.vsphere-iso.ubuntuserver"] only = ["vsphere-iso.ubuntuserver"]
playbook_file = "ansible/playbook.yml" playbook_file = "ansible/playbook.yml"
user = "ubuntu" user = "ubuntu"
@ -145,7 +145,7 @@ build {
} }
post-processor "shell-local" { post-processor "shell-local" {
only = ["source.vsphere0iso.ubuntuserver"] only = ["vsphere-iso.ubuntuserver"]
inline = [ inline = [
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\", "pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\",
" -OVFFile '/scratch/ubuntuserver/${var.vm_guestos}-${var.vm_name}.ovf' \\", " -OVFFile '/scratch/ubuntuserver/${var.vm_guestos}-${var.vm_name}.ovf' \\",
@ -158,11 +158,11 @@ build {
] ]
} }
post-processor "shell-local" { post-processor "shell-local" {
only = ["source.vsphere0iso.ubuntuserver-baremetal"] only = ["vsphere-iso.ubuntuserver-baremetal"]
inline = [ inline = [
"ls /scratch/ubuntuserver-baremetal -lash", "ls /scratch/ubuntuserver-baremetal -lash",
"qemu-img convert -f vmdk -o raw \\", "qemu-img convert -f vmdk -o raw \\",
" /scratch/ubuntuserver-baremetal/${var.vm_guestos}-${var.vm_name}-disk001.vmdk \\", " /scratch/ubuntuserver-baremetal/${var.vm_guestos}-${var.vm_name}-disk-0.vmdk \\",
" /scratch/ubuntuserver-baremetal/${var.vm_guestos}-${var.vm_name}.raw", " /scratch/ubuntuserver-baremetal/${var.vm_guestos}-${var.vm_name}.raw",
"ls /scratch/ubuntuserver-baremetal -lash", "ls /scratch/ubuntuserver-baremetal -lash",
"gzip -c \\", "gzip -c \\",