Commit 2ca9d77f authored by Rafael Monnerat's avatar Rafael Monnerat

packer: Fix style of documentation

parent f53ccc3b
...@@ -10,7 +10,7 @@ How to build one VM? ...@@ -10,7 +10,7 @@ How to build one VM?
1) Install Packer locally by https://www.packer.io/downloads.html, like (exemple): 1) Install Packer locally by https://www.packer.io/downloads.html, like (exemple):
::
mkdir /opt/packer/ mkdir /opt/packer/
cd /opt/packer/ cd /opt/packer/
...@@ -19,7 +19,7 @@ How to build one VM? ...@@ -19,7 +19,7 @@ How to build one VM?
2) Building one VM (example):: 2) Building one VM (example)::
::
PATH=$PATH:/opt/packer packer build debian8.json PATH=$PATH:/opt/packer packer build debian8.json
3) You can watch qemu working on a linux machine (with X running), you just 3) You can watch qemu working on a linux machine (with X running), you just
...@@ -30,8 +30,6 @@ How to build all VMs? ...@@ -30,8 +30,6 @@ How to build all VMs?
You can use ansible for build all VMs locally, and gzip them: You can use ansible for build all VMs locally, and gzip them:
::
ansible-playbook build.yml -i localhost, ansible-playbook build.yml -i localhost,
How to upload to shacache? How to upload to shacache?
...@@ -44,8 +42,6 @@ eventually, update shacache/shacache.cfg. ...@@ -44,8 +42,6 @@ eventually, update shacache/shacache.cfg.
BE CAREFULL, every time you run this command you upload the files to shacache, BE CAREFULL, every time you run this command you upload the files to shacache,
even if the files are there already. even if the files are there already.
::
ansible-playbook upload.yml -i localhost, ansible-playbook upload.yml -i localhost,
How can I check if all images are on shacache? How can I check if all images are on shacache?
...@@ -54,7 +50,7 @@ How can I check if all images are on shacache? ...@@ -54,7 +50,7 @@ How can I check if all images are on shacache?
You can use the script 'util/testupload.sh' to know if all generated images You can use the script 'util/testupload.sh' to know if all generated images
are uploaded to shacache. are uploaded to shacache.
::
bash util/testupload.sh bash util/testupload.sh
# expected output similat to this # expected output similat to this
...@@ -67,7 +63,6 @@ How to download one image from shacache? ...@@ -67,7 +63,6 @@ How to download one image from shacache?
The images are downloaded by the SHA512SUM hash of it. Example: The images are downloaded by the SHA512SUM hash of it. Example:
::
sha512sum output-centos72/packer-centos72.gz sha512sum output-centos72/packer-centos72.gz
a0247991d2122ba131b...BIGHASH...fa712712b4674be8e332940ade7adccee55a7de7bda0d18 output-centos72/packer-centos72.gz a0247991d2122ba131b...BIGHASH...fa712712b4674be8e332940ade7adccee55a7de7bda0d18 output-centos72/packer-centos72.gz
...@@ -81,7 +76,7 @@ How to run locally a downloaded image? ...@@ -81,7 +76,7 @@ How to run locally a downloaded image?
In order to test one image (after unzip), you can run: In order to test one image (after unzip), you can run:
::
bash util/quick-test IMAGE.qcow2 bash util/quick-test IMAGE.qcow2
# or if you want use X and a monitor you can do: # or if you want use X and a monitor you can do:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment