diff --git a/packer/ubuntuserver20.04.pkr.hcl b/packer/ubuntuserver20.04.pkr.hcl index 858f65f..cc659ec 100644 --- a/packer/ubuntuserver20.04.pkr.hcl +++ b/packer/ubuntuserver20.04.pkr.hcl @@ -161,12 +161,12 @@ build { only = ["source.vsphere0iso.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 \", + "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}.raw", "ls /scratch/ubuntuserver-baremetal -lash", - "gzip -c \", - " /scratch/ubuntuserver-baremetal/${var.vm_guestos}-${var.vm_name}.raw \", + "gzip -c \\", + " /scratch/ubuntuserver-baremetal/${var.vm_guestos}-${var.vm_name}.raw \\", " > /output/Ubuntu-Server-20.04.raw.gz" ] }