1OZ-GENERATE-ICICLE(1) General Commands Manual OZ-GENERATE-ICICLE(1)
2
3
4
6 oz-generate-icicle - tool to generate an ICICLE (package manifest) of a
7 disk image
8
9
11 oz-generate-icicle [OPTIONS] <tdl-file> <libvirt-xml-file>
12
13
15 This is a tool to generate a package manifest (also called ICICLE) from
16 a disk image. This program can be used as a counterpart to oz-install,
17 though it does not have to be used in conjunction.
18
19 Note that oz-generate-icicle does the actual work using a combination
20 of KVM and libvirt, so both of these must be available (and working)
21 for oz-generate-icicle to have a chance to succeed.
22
23
25 -c <config>
26 Get the configuration from config file config, instead of the
27 default /etc/oz/oz.cfg. If neither one exists, Oz will use sen‐
28 sible defaults. The config file is in standard ini format; for
29 an explanation of the sections and keys, see the CONFIGURATION
30 FILE section.
31
32 -d <loglevel>
33 Turn on debugging output to level loglevel. The log levels are:
34
35 0 - errors only (this is the default)
36
37 1 - errors and warnings
38
39 2 - errors, warnings, and information
40
41 3 - all messages
42
43 4 - all messages, prepended with the level and classname
44
45 -h Print a short help message.
46
47
49 The Oz configuration file is in standard INI format with several sec‐
50 tions. If any section or configuration key is missing, Oz will use a
51 sensible default. For true/false configuration keys, the values of
52 "true", "True", "yes", or "Yes" can be used to turn the option on, and
53 "false", "False", "no", or "No" can be used to turn the behavior off.
54 The configuration file should have the following form:
55
56
57 [paths]
58 output_dir = /var/lib/libvirt/images
59 data_dir = /var/lib/oz
60 screenshot_dir = .
61
62 [libvirt]
63 uri = qemu:///system
64 type = kvm
65 bridge_name = virbr0
66
67 [cache]
68 original_media = yes
69 modified_media = no
70 jeos = no
71
72 The paths section defines the paths that Oz will use for storing data.
73 The output_dir key describes where to store the images after they are
74 built, and the data_dir key describes where to cache install media and
75 use temporary storage. Both locations must have a decent amount of
76 free disk space in order for Oz to work properly. The screenshot_dir
77 key describes where to store screenshots of failed installs.
78
79 The libvirt section allows some manipulation of how Oz uses libvirt.
80 The uri key describes the libvirt URI to use to do the guest installa‐
81 tion. The type key defines what type of virtualization to use. The
82 bridge_name key defines which bridge Oz should place the guests that it
83 launches on.
84
85 The cache section allows some manipulation of how Oz caches data. The
86 caching of data in Oz is a tradeoff between installation time and stor‐
87 age space. The original_media key tells Oz to cache the original
88 installation media so that it does not have to download it the next
89 time an install for the same operating system is requested. The modi‐
90 fied_media key tells Oz to cache the oz-modified installation media so
91 that it does not have to download and modify it the next time an
92 install for the same operating system is requested. The jeos key tells
93 Oz to cache the installed operating system after installation. This
94 can significantly speed up subsequent installation of the same operat‐
95 ing system, with the additional downside of the operating system get‐
96 ting out-of-date with respect to security updates. Use with care.
97
98
100 oz-install(1), oz-customize(1), oz-cleanup-cache(1)
101
102
104 Chris Lalancette <clalance@redhat.com>
105
106
107
108oz-generate-icicle Dec 2010 OZ-GENERATE-ICICLE(1)