-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi Team,
When I tried to create a VM in cloudstack it shows " cloudstack.centos: Error creating new instance packer-629497eb-6580-0059-b4ef-50a079b50415: json: cannot unmarshal string into Go struct field DeployVirtualMachineResponse.ostypeid of type int64
Packer Version : 1.8.1
I ran the packer build command from my windows 10 desktop machine.
Here is my code.
source "cloudstack" "centos" {
api_key = ""
api_url = ""
secret_key = "<My Secret key"
network = "6f82e20d-57c9-431d-b7a5-9a4009d32c48"
service_offering = "5a6fe325-74c1-413f-8582-3e333ce63005"
source_template = "539378f0-8a32-4335-80fa-9c7ebd5b5218"
zone = "27efd513-9343-43be-a1a7-d1a854d85148"
ssh_username = "root"
ssh_private_key_file = "Packer-Key.key"
template_os = "Other PV (64-bit)"
}
build {
sources = ["source.cloudstack.centos"]
}
Any Suggestions ?
Issues on GitHub are intended to be related to bugs or feature requests, so we
recommend using our other community resources instead of asking here if you
have a question.
- Packer Guides: https://www.packer.io/guides
- Discussion List: https://groups.google.com/group/packer-tool
- Any other questions can be sent to the packer section of the HashiCorp
forum: https://discuss.hashicorp.com/c/packer - Packer community links: https://www.packer.io/community