packerをMacにインストール

表題をMacにインストールする。単なるメモである。

■ 環境

  • packer 0.10.2
  • Mac OSX El Capitan

■ packer

以前から存在は知っていたのだが使う機会がなかった。今回、AWSでAMIを定期的に作ることが出てきそうだったので、機械的にAMI化したいなということで試してみることに。

packer-001

https://www.packer.io/

インストールはいつも通りである。

$ brew update
$ brew install packer

ちょっと確認。

$ which packer
/usr/local/bin/packer
$
$ packer -v
0.10.2
$ packer -h
usage: packer [--version] [--help]  []

Available commands are:
    build       build image(s) from template
    fix         fixes templates from old versions of packer
    inspect     see components of a template
    push        push a template and supporting files to a Packer build service
    validate    check that a template is valid
    version     Prints the Packer version

$

さて、これからいろいろ試してみよう。

以上。