Hello,
I am getting this error all the time that I try to run a post-processor for
Openstack:
*Failed to initialize build 'openstack': post-processor type not found:
shell-local*
My template is:
{
"builders": [
{
"type": "openstack",
"region": "cern",
"ssh_username": "root",
"ssh_keypair_name": "packerkey",
"ssh_private_key_file": "/root/.ssh/pakerkey",
"image_name": "imagecompressed01",
"source_image": "02d1622c-eff6-427d-83aa-7e34bb1c860e",
"flavor": "3",
"ssh_timeout": "40m"
}
],
"provisioners": [
{
"type": "file",
"source": "/etc/yum.conf",
"destination": "/etc/yum.conf",
"source": "/etc/yum-puppet.repos.d",
"destination": "/etc/yum-puppet.repos.d"
},
{
"type": "shell",
"inline": [
"yum -y update",
"yum clean all"
]}],
"post-processors": [
{
"type": "shell-local",
"inline": [
"/usr/bin/qemu-img convert -c -f qcow2 -O qcow2 imagecompressed01
imagecompressedpacker01.qcow2",
"/usr/bin/glance image-create --name BatchCondorCC7_compressed
--container-format bare --disk-format qcow2 --file
imagecompressedpacker01.qcow2 --is-public True --progress"
]
}]
}
Am I doing something wrong or it is that is not possible to do have
post-processors for OS?
Cheers
Lore
--
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/818fb73a-a56b-4c65-b7e8-ad41df9f4425%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.