Fix version check introduced in aca3e6508c7ae3f5ee
[snf-image-creator] / docs / man / snf-image-creator.rst
1 :orphan:
2
3 snf-image-creator manual page
4 =============================
5
6 Synopsis
7 --------
8
9 **snf-image-creator** [OPTION] <INPUT MEDIA>
10
11 Description
12 -----------
13 Create image out of an <INPUT MEDIA>. The <INPUT MEDIA> may be a block device,
14 a regular file that represents a hard disk or \`/' to bundle the host system
15 itself.
16
17 Options
18 -------
19 -a URL, --authentication-url=URL
20         use this authentication URL when uploading/registering images
21
22 -c CLOUD, --cloud=CLOUD
23         use this saved cloud account to authenticate against a cloud when
24         uploading/registering images
25
26 --disable-sysprep=SYSPREP
27         prevent SYSPREP operation from running on the input media
28
29 --enable-sysprep=SYSPREP
30         run SYSPREP operation on the input media
31
32 -f, --force
33         overwrite output files if they exist
34
35 -h, --help
36         show this help message and exit
37
38 -m KEY=VALUE, --metadata=KEY=VALUE
39         add custom KEY=VALUE metadata to the image
40
41 --no-shrink
42         don't shrink any partition
43
44 --no-sysprep
45         don't perform any system preparation operation
46
47 -o FILE, --outfile=FILE
48         dump image to FILE
49
50 --public
51         register image with the storage service as public
52
53 --print-sysprep
54         print the enabled and disabled system preparation operations for this
55         input media
56
57 -r IMAGENAME, --register=IMAGENAME
58         register the image with the compute service with name IMAGENAME
59
60 -s, --silent
61         output only errors
62
63 -t TOKEN, --token=TOKEN
64         use this token when uploading/registering images
65
66 --tmpdir=DIR
67         create large temporary image files under DIR
68
69 -u FILENAME, --upload=FILENAME
70         save the image to the storage service with remote name FILENAME
71
72 --version
73         show program's version number and exit
74