my file is here
{
"builders": [
{
"type": "openstack",
"provider": "http://<openstack>.metacloud.net:5000/v2.0",
"openstack_provider": "",
"region": "RegionOne",
"ssh_username": "monkey",
"image_name": "ubuntu1404_packer_test_1",
"source_image":
"https:////pkg.adfinis-sygroup.ch/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-NetInstall-1804.iso",
"flavor": "2"
}
]
}
the error i am getting is : openstack: Error launching source server: Bad
request with: [POST
https://iadosvip01.ece.ellucian.com:8774/v2/78e00e3a402a4d5e8b50f593e92db117/servers],
error message: {"badRequest": {"message": "Invalid input for field/attribute
imageRef. Value:
https://pkg.adfinis-sygroup.ch/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-NetInstall-1804.iso.
u'https://pkg.adfinis-sygroup.ch/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-NetInstall-1804.iso'
is not valid under any of the given schemas", "code": 400}}
i want to download the image from the site
https:////pkg.adfinis-sygroup.ch/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-NetInstall-1804.iso
and then create a image out of it.
i do not want to give the image id from the existing image in openstack.
how can i achieve this.
--
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/mitchellh/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/a9b6a2e1-6e82-4d07-9bad-a3d5e080f16f%40googlegroups.com.