Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This is a plugin of packer post-processor to run script after provioners on googlecompute or amazon.

NotificationsYou must be signed in to change notification settings

enswers/packer-post-processor-shell-with-imageid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a plugin of packer post-processor to run script after provioners on googlecompute or amazon.

Usage

Example

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go97.1%
  • Makefile2.9%

[8]ページ先頭

©2009-2025 Movatter.jp