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" {
only = ["source.vsphere-iso.ubuntuserver"]
only = ["vsphere-iso.ubuntuserver"]
playbook_file = "ansible/playbook.yml"
user = "ubuntu"
@ -145,7 +145,7 @@ build {
}
post-processor "shell-local" {
only = ["source.vsphere0iso.ubuntuserver"]
only = ["vsphere-iso.ubuntuserver"]
inline = [
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\",
" -OVFFile '/scratch/ubuntuserver/${var.vm_guestos}-${var.vm_name}.ovf' \\",
@ -158,11 +158,11 @@ build {
]
}
post-processor "shell-local" {
only = ["source.vsphere0iso.ubuntuserver-baremetal"]
only = ["vsphere-iso.ubuntuserver-baremetal"]
inline = [
"ls /scratch/ubuntuserver-baremetal -lash",
"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",
"ls /scratch/ubuntuserver-baremetal -lash",
"gzip -c \\",