Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-image-creator
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-image-creator
Commits
843b2d17
Commit
843b2d17
authored
11 years ago
by
Nikos Skalkotos
Browse files
Options
Downloads
Patches
Plain Diff
docs: Fix spelling errors & do minor improvements
parent
c31fcf2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/install.rst
+10
-10
10 additions, 10 deletions
docs/install.rst
docs/usage.rst
+23
-23
23 additions, 23 deletions
docs/usage.rst
with
33 additions
and
33 deletions
docs/install.rst
+
10
−
10
View file @
843b2d17
...
...
@@ -74,7 +74,7 @@ Ubuntu
For *Ubuntu 12.04 LTS*, *12.10* and *13.04* systems, you can use our official
packages found in *grnet/synnefo* Lauchpad PPA.
Add the
s
ynnefo PPA in your system:
Add the
S
ynnefo PPA in your system:
.. code-block:: console
...
...
@@ -95,7 +95,7 @@ Or *python-software-properties* (Ubuntu 12.04):
$ sudo apt-get install python-software-properties
After the
s
ynnefo repository is set up, you should be able to list
After the
S
ynnefo repository is set up, you should be able to list
snf-image-creator by calling:
.. code-block:: console
...
...
@@ -152,24 +152,24 @@ Add the *synnefo* repository for *CentOS 6* to the yum repositories list:
Check the `Fedora <#fedora>`_ instructions on how to install the software.
O
penSUSE
o
penSUSE
--------
For *
O
penSUSE 1
2.3
* you can use our official packages hosted at the *
s
ynnefo*
repository of the
O
penSUSE Build Service.
For *
o
penSUSE 1
3.1
* you can use our official packages hosted at the *
S
ynnefo*
repository of the
o
penSUSE Build Service.
Add the *Virtualization* repository for *
O
penSUSE 1
2.3
* to *YaST* with the
Add the *Virtualization* repository for *
o
penSUSE 1
3.1
* to *YaST* with the
*Zypper* package manager:
.. code-block:: console
$ zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_1
2.3
/Virtualization.repo
$ zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_1
3.1
/Virtualization.repo
Add the *
s
ynnefo* repository:
Add the *
S
ynnefo* repository:
.. code-block:: console
$ zypper ar -f http://download.opensuse.org/repositories/home:/GRNET:/synnefo/openSUSE_1
2.3
/home:GRNET:synnefo.repo
$ zypper ar -f http://download.opensuse.org/repositories/home:/GRNET:/synnefo/openSUSE_1
3.1
/home:GRNET:synnefo.repo
To list the *snf-image-creator* package use the following command:
...
...
@@ -288,7 +288,7 @@ kamaki Installation
-------------------
Refer to `./kamaki documentation <http://docs.dev.grnet.gr/kamaki/latest/installation.html>`_
for instructions. You may install kamaki from source inside the virtualenv
for instructions. You may install
*./
kamaki
*
from source inside the virtualenv
you've created above or by using binary packages if they are available for your
distribution.
...
...
This diff is collapsed.
Click to expand it.
docs/usage.rst
+
23
−
23
View file @
843b2d17
...
...
@@ -82,7 +82,7 @@ input media. The user can enable or disable specific *syspreps*, using
multiple times.
Running *snf-mkimage* with *--print-sysprep* on a raw file that hosts a
d
ebian system, we print the following output:
D
ebian system, we print the following output:
.. _sysprep:
...
...
@@ -184,8 +184,8 @@ be given the choice to run *snf-image-creator* in *wizard* or *expert* mode.
Wizard mode
-----------
When *snf-image-creator* runs in *wizard* mode, the user is just asked to
provide the
following basic information:
When *snf-image-creator* runs in *wizard* mode, the user is just asked to
provide the
following basic information:
* Cloud: The cloud account to use to upload and register the resulting image
* Name: A short name for the image (ex. "Slackware")
...
...
@@ -229,12 +229,12 @@ Host bundling operation
=======================
As a new feature in *v0.2*, snf-image-creator can create images out of the host
system that runs the program. This is done either by specifying
/
as input
media or by using the *Bundle Host* button in the media selection dialog
of
snf-mkimage.
During this operation, the files of the disk are copied into a
temporary image
file, which means that the file system that will host the
temporary image needs
to have a lot of free space (see `large temporary files`_
for more
information).
system that runs the program. This is done either by specifying
*/*
as input
media or by using the *Bundle Host* button in the media selection dialog
.
During this operation, the files of the disk are copied into a
temporary image
file, which means that the file system that will host the
temporary image needs
to have a lot of free space (see `large temporary files`_
for more
information).
Creating a new image
====================
...
...
@@ -272,14 +272,14 @@ And install the Ubuntu system on this file:
use LVM partitions. They are not supported by snf-image-creator.
You will be able to boot your installed OS and make any changes you want
(e.g. install
o
pen
ssh-s
erver) using the following command:
(e.g. install
O
pen
SSH S
erver) using the following command:
.. code-block:: console
$ sudo kvm -m 1G -boot c -drive file=ubuntu.raw,format=raw,cache=none,if=virtio
After you're done, you may use *snf-image-creator* as root to create and upload
the
image:
After you're done, you may use *snf-image-creator* as root to create and upload
the
image:
.. code-block:: console
...
...
@@ -320,7 +320,7 @@ contain primary or logical partitions.
Para-virtualized drivers
------------------------
Most
s
ynnefo deployments uses the *VirtIO* framework. The disk I/O controller
Most
S
ynnefo deployments uses the *VirtIO* framework. The disk I/O controller
and the Ethernet cards on the VM instances are para-virtualized and need
special *VirtIO* drivers. Those drivers are included in the Linux Kernel
mainline since version 2.6.25 and are shipped with all the popular Linux
...
...
@@ -338,9 +338,9 @@ if a system can boot with para-virtualized disk controller by launching it with
kvm using the *if=virtio* option (see the kvm command in the
`Creating a new image`_ section).
For Windows and FreeBSD systems, the needed drivers need
to be manually
downloaded and installed on the media before the image creation
process takes
place. For *FreeBSD* the virtio drivers can be found
For Windows and
older
FreeBSD systems
(prior to 9.2)
, the needed drivers need
to be manually
downloaded and installed on the media before the image creation
process takes
place. For *FreeBSD* the virtio drivers can be found
`here <http://people.freebsd.org/~kuriyama/virtio/>`_. For Windows the drivers
are hosted by the
`Fedora Project <http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/>`_.
...
...
@@ -372,15 +372,15 @@ Large temporary files
* During image shrinking, the input media snapshot file may reach the size of
the original media.
* When bundling the host system, the temporary image file may became
as large
as
th
e
rest of the disk files altogether.
* When bundling the host system, the temporary image file may became
10%
larger
th
an
rest of the disk files altogether.
*/tmp* directory is not a good place for hosting large files. In many systems
the contents of */tmp* are stored in volatile memory and the size they may
occupy
is limited. By default, *snf-image-creator* will use a heuristic
approach to
determine where to store large temporary files. It will examine the
free space
under */var/tmp*, the user's home directory and */mnt* and will pick
the one
with the most available space. The user may overwrite this behavio
u
r and
the contents of */tmp* are stored in volatile memory and the size they may
occupy
is limited. By default, *snf-image-creator* will use a heuristic
approach to
determine where to store large temporary files. It will examine the
free space
under */var/tmp*, the user's home directory and */mnt* and will pick
the one
with the most available space. The user may overwrite this behavior and
indicate a different directory using the *tmpdir* option. This option is
supported by both *snf-image-creator* and *snf-mkimage*.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment