Update the doc to reflect the pbs to sh change
[snf-image-creator] / docs / overview.rst
1 Overview
2 ^^^^^^^^
3
4 snf-image-creator is a simple command-line tools for creating OS images. The
5 original media from which the image is created, can be a block device or a
6 regular file that represents a hard disk. Given a media file, snf-image-creator
7 will create a snapshot for it and will run a number of system preparation
8 operations on the snapshot, before the image is created.
9
10 Snapshotting
11 ============
12
13 snf-image-creator works on snapshots of the original media. Any changes made by
14 the program do not affect the original media.
15
16 Preparation
17 ===========
18
19 Some of the system preparation operations are OS specific. snf-image-creator
20 will use heuristics to detect the OS of the media and determine which
21 operations should perform on it. The main purpose of running them is to:
22
23  * Shrink the image
24  * Clear out sensitive user data (passwords, ssh keys, history files, etc.)
25  * Prepare the guest OS for being deployed on a virtual environment (change
26    device names, remove persistent net rules, etc.)
27
28 Creation
29 ========
30
31 The program can either dump the image file locally or directly upload it to
32 pithos and register it with `okeanos <http://www.okeanos.grnet.gr>`_.
33
34 Image Format
35 ============
36
37 The images the program creates are in diskdump format. This is the recommended
38 format for `snf-image <https://code.grnet.gr/projects/snf-image>`_, the Ganeti
39 OS Definition used by `Synnefo <https://code.grnet.gr/projects/synnefo>`_.