Merge pull request #3360 from thomasv314/bugfix/fix-documentation-errors

Update documentation to work out of box
This commit is contained in:
Chris Bednarski 2016-03-17 14:16:56 -07:00
commit 172184b2f2
7 changed files with 9 additions and 9 deletions

View File

@ -55,7 +55,7 @@ file as `quick-start.json`. Export your AWS credentials as the
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `access_key`}}",
"secret_key": "{{user `access_key`}}",
"secret_key": "{{user `secret_key`}}",
"region": "us-east-1",
"source_ami": "ami-de0d9eb7",
"instance_type": "t1.micro",

View File

@ -213,7 +213,7 @@ Here is a basic example. You will need to provide access keys, and may need to c
"access_key": "YOUR KEY HERE",
"secret_key": "YOUR SECRET KEY HERE",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-quick-start {{timestamp}}"
@ -244,7 +244,7 @@ the /dev/sdb and /dev/sdc block device mappings to the finished AMI. As with the
"access_key": "YOUR KEY HERE",
"secret_key": "YOUR SECRET KEY HERE",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-quick-start {{timestamp}}",
@ -272,7 +272,7 @@ Here is an example using the optional AMI tags. This will add the tags
"access_key": "YOUR KEY HERE",
"secret_key": "YOUR SECRET KEY HERE",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-quick-start {{timestamp}}",

View File

@ -88,7 +88,7 @@ you can also use `token` configuration option.
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "atlas-example {{timestamp}}"

View File

@ -200,7 +200,7 @@ Please note that double quote characters need escaping inside of templates (in t
"access_key": "...",
"secret_key": "...",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer {{isotime \"2006-01-02\"}}"

View File

@ -93,7 +93,7 @@ Below is an example of a basic template that could be invoked with `packer build
"access_key": "...",
"secret_key": "...",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer {{timestamp}}"

View File

@ -57,7 +57,7 @@ briefly. Create a file `example.json` and fill it with the following contents:
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-example {{timestamp}}"

View File

@ -95,7 +95,7 @@ The entire template should now look like this:
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami": "ami-72b9e018",
"source_ami": "ami-fce3c696",
"instance_type": "t2.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-example {{timestamp}}"