Created
November 8, 2015 07:51
-
-
Save unosk/cbe116dc87adb2a33ee4 to your computer and use it in GitHub Desktop.
Packer template for itamae
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [{ | |
"type": "amazon-ebs", | |
"region": "ap-northeast-1", | |
"source_ami": "ami-936d9d93", | |
"instance_type": "m3.medium", | |
"ssh_username": "ubuntu", | |
"ami_name": "smart2channel-base {{timestamp}}" | |
}], | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline": [ | |
"echo 'deb https://dl.bintray.com/itamae/itamae trusty contrib' | sudo tee /etc/apt/sources.list.d/itamae.list", | |
"sudo apt-key adv --keyserver keyserver.ubuntu.com --recv D401AB61", | |
"sudo apt-get update", | |
"sudo apt-get install -y itamae" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment