Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
2ca9d77f
Commit
2ca9d77f
authored
Jul 29, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packer: Fix style of documentation
parent
f53ccc3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
30 deletions
+25
-30
packer/README.md
packer/README.md
+25
-30
No files found.
packer/README.md
View file @
2ca9d77f
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment