- Notifications
You must be signed in to change notification settings - Fork0
enswers/packer-post-processor-shell-with-imageid
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a plugin of packer post-processor to run script after provioners on googlecompute or amazon.
- go gethttps://github.com/odg0318/packer-post-processor-shell-with-imageid
- cd $GOPATH/github.com/odg0318/packer-post-processor-shell-with-imageid
- make install
template.json
"post-processors": [ {"type":"shell-with-imageid","script":"post-processor" }]
post-processor
#!/bin/bash# $1: builder [amazon-ebs, googlecompute], $2: image_idif ["$1"=="amazon-ebs" ]then python scripts/add_launching_configuration.py$2fiif ["$1"=="googlecompute" ]then python scripts/add_instance_template.py$2fi
About
This is a plugin of packer post-processor to run script after provioners on googlecompute or amazon.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Go97.1%
- Makefile2.9%