{
"builders": [
{
"type": "amazon-ebs",
"ami_name": "my-ami",
"instance_type": "t2.micro",
"region": "us-east-1",
"source_ami": "ami-f4cc1de2",
"ssh_username": "ubuntu"
},
{
"type": "docker",
"image": "ubuntu:16.04"
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"sleep 30",
"sudo apt-get update"
]
}
]
}--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/a17dff65-ef29-4c88-853d-d32fcc9df357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/38617c31-2932-4642-a70f-56ba26d74ea4%40googlegroups.com.
{
"builders": [
{
"type": "amazon-ebs",
"ami_name": "my-ami",
"instance_type": "t2.micro",
"region": "us-east-1",
"source_ami": "ami-f4cc1de2",
"ssh_username": "ubuntu"
},
{
"type": "docker",
"image": "ubuntu:16.04"
}
],
"provisioners": [
{
"type": "shell",
"only": "amazon-ebs",
"inline": [
"sleep 30"
]
}
{
"type": "shell",
"only": "docker",
"inline": [
"apt-get install -y sudo"
]
},
{
"type": "shell",
"inline": [
"sudo apt-get update"
]
}
]
}To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/38617c31-2932-4642-a70f-56ba26d74ea4%40googlegroups.com.
--Alvaro