Merge pull request #5462 from charlieegan3/patch-1

Fix build image section fenced example formatting
pull/5457/head^2
SwampDragons 9 years ago committed by GitHub
commit fa5c6d2e80

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

Loading…
Cancel
Save