3 snf-mkimage manual page
4 =============================
9 **snf-mkimage** [OPTION] <INPUT MEDIA>
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
19 -a URL, --authentication-url=URL
20 use this authentication URL when uploading/registering images
22 -c CLOUD, --cloud=CLOUD
23 use this saved cloud account to authenticate against a cloud when
24 uploading/registering images
26 --disable-sysprep=SYSPREP
27 prevent SYSPREP operation from running on the input media
29 --enable-sysprep=SYSPREP
30 run SYSPREP operation on the input media
33 overwrite output files if they exist
36 show this help message and exit
38 -m KEY=VALUE, --metadata=KEY=VALUE
39 add custom KEY=VALUE metadata to the image
42 don't shrink any partition
45 don't perform any system preparation operation
47 -o FILE, --outfile=FILE
51 register image with the storage service as public
54 print the enabled and disabled system preparation operations for this
57 -r IMAGENAME, --register=IMAGENAME
58 register the image with the compute service with name IMAGENAME
63 -t TOKEN, --token=TOKEN
64 use this token when uploading/registering images
67 create large temporary image files under DIR
69 -u FILENAME, --upload=FILENAME
70 save the image to the storage service with remote name FILENAME
73 show program's version number and exit