Merge pull request #5462 from charlieegan3/patch-1

Fix build image section fenced example formatting
This commit is contained in:
SwampDragons 2017-10-16 09:13:00 -07:00 committed by GitHub
commit fa5c6d2e80
1 changed files with 3 additions and 0 deletions

View File

@ -203,11 +203,13 @@ how to validate and build templates into machine images.
### Another Linux Example, with provisioners:
Create a file named `welcome.txt` and add the following:
```
WELCOME TO PACKER!
```
Create a file named `example.sh` and add the following:
```
#!/bin/bash
echo "hello
@ -215,6 +217,7 @@ echo "hello
Set your access key and id as environment variables, so we don't need to pass
them in through the command line:
```
export AWS_ACCESS_KEY_ID=MYACCESSKEYID
export AWS_SECRET_ACCESS_KEY=MYSECRETACCESSKEY