Skip to content

Instantly share code, notes, and snippets.

@unosk
Created November 8, 2015 07:51
Show Gist options
  • Save unosk/cbe116dc87adb2a33ee4 to your computer and use it in GitHub Desktop.
Save unosk/cbe116dc87adb2a33ee4 to your computer and use it in GitHub Desktop.
Packer template for itamae
{
"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