hi seems different character set
make sure you save template as text file try to use dos2unix on the template file On Fri, Jun 4, 2021 at 10:31 PM Akhila Garlapally < [email protected]> wrote: > Hi, > > we are using proxmox of version 4.1 and I'm facing the below error . > --> proxmox: Error creating VM: Error creating VM: 400 Parameter > verification failed., error status: {"errors":{"scsi0":"invalid format - > unable to parse drive options\n","net0":"invalid format - unable to parse > network options\n"},"data":null} > (params: map[agent:0 boot: cores:2 cpu:kvm64 description:Packer ephemeral > build VM hotplug: > ide2:local:iso/CentOS-8.3.2011-x86_64-dvd1.iso,media=cdrom kvm:false > memory:2048 name:packer-60ba8c04-84c3-2758-27dc-4f7dfddc51da > net0:e1000=76:4F:FF:E1:D1:5F,bridge=vmbr0,tag=10,firewall=false numa:false > onboot:false ostype:l26 scsi0:vmpool:8,iothread=false scsihw:lsi sockets:1 > tags: vmid:106]) > > Below is the packer json file > "network_adapters": [ > { > "bridge": "vmbr0", > "model": "e1000", > "vlan_tag": 10 > } > ], > "disks": [ > { > "type": "scsi", > "disk_size": "8G", > "storage_pool": "{{user `proxmox_storage_pool`}}", > "storage_pool_type": "{{user `proxmox_storage_pool_type`}}", > "format": "{{user `proxmox_storage_format`}}" > } > > Can anyone help me how to resolve it. > > > *Disclaimer* > In addition to generic Disclaimer which you have agreed on our website, > any views or opinions presented in this email are solely those of the > originator and do not necessarily represent those of the Company or its > sister concerns. Any liability (in negligence, contract or otherwise) > arising from any third party taking any action, or refraining from taking > any action on the basis of any of the information contained in this email > is hereby excluded. > > *Confidentiality* > This communication (including any attachment/s) is intended only for the > use of the addressee(s) and contains information that is PRIVILEGED AND > CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying > of this communication is prohibited. Please inform originator if you have > received it in error. > > *Caution for viruses, malware etc.* > This communication, including any attachments, may not be free of viruses, > trojans, similar or new contaminants/malware, interceptions or > interference, and may not be compatible with your systems. You shall carry > out virus/malware scanning on your own before opening any attachment to > this e-mail. The sender of this e-mail and Company including its sister > concerns shall not be liable for any damage that may incur to you as a > result of viruses, incompleteness of this message, a delay in receipt of > this message or any other computer problems. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/4a821b6a-2a0f-4d9a-ba06-f12b81bb7765n%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/4a821b6a-2a0f-4d9a-ba06-f12b81bb7765n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0exD0OoHXSuMSyK6Hu3RoCNQrhgVqW2OACFNyaywpMGbFw%40mail.gmail.com.
