1OZ-CLEANUP-CACHE(1)         General Commands Manual        OZ-CLEANUP-CACHE(1)
2
3
4

NAME

6       oz-cleanup-cache - tool to remove cached oz data
7
8

SYNOPSIS

10       oz-cleanup-cache [OPTIONS]
11
12

DESCRIPTION

14       This  is  a tool to remove all of the data that Oz has cached.  Because
15       the data that Oz caches can grow fairly large, it may be worthwhile  to
16       periodically clean it up.  This is a simple script to do so.  Note that
17       if you do cleanup the Oz cache, subsequent  operating  system  installs
18       will  be  slower  since  Oz  will  have to re-download the installation
19       media.
20
21

OPTIONS

23       -c <config>
24              Get the configuration from config file config,  instead  of  the
25              default /etc/oz/oz.cfg.  If neither one exists, Oz will use sen‐
26              sible defaults.  The config file is in standard ini format;  for
27              an  explanation  of the sections and keys, see the CONFIGURATION
28              FILE section.
29
30       -h     Print a short help message.
31
32

CONFIGURATION FILE

34       The Oz configuration file is in standard INI format with  several  sec‐
35       tions.   If  any section or configuration key is missing, Oz will use a
36       sensible default.  For true/false configuration  keys,  the  values  of
37       "true",  "True", "yes", or "Yes" can be used to turn the option on, and
38       "false", "False", "no", or "No" can be used to turn the  behavior  off.
39       The configuration file should have the following form:
40
41
42           [paths]
43           output_dir = /var/lib/libvirt/images
44           data_dir = /var/lib/oz
45           screenshot_dir = .
46
47           [libvirt]
48           uri = qemu:///system
49           type = kvm
50           bridge_name = virbr0
51
52           [cache]
53           original_media = yes
54           modified_media = no
55           jeos = no
56
57       The  paths section defines the paths that Oz will use for storing data.
58       The output_dir key describes where to store the images after  they  are
59       built,  and the data_dir key describes where to cache install media and
60       use temporary storage.  Both locations must have  a  decent  amount  of
61       free  disk  space in order for Oz to work properly.  The screenshot_dir
62       key describes where to store screenshots of failed installs.
63
64       The libvirt section allows some manipulation of how  Oz  uses  libvirt.
65       The  uri key describes the libvirt URI to use to do the guest installa‐
66       tion.  The type key defines what type of virtualization  to  use.   The
67       bridge_name key defines which bridge Oz should place the guests that it
68       launches on.
69
70       The cache section allows some manipulation of how Oz caches data.   The
71       caching of data in Oz is a tradeoff between installation time and stor‐
72       age space.  The original_media key  tells  Oz  to  cache  the  original
73       installation  media  so  that  it does not have to download it the next
74       time an install for the same operating system is requested.  The  modi‐
75       fied_media  key tells Oz to cache the oz-modified installation media so
76       that it does not have to download  and  modify  it  the  next  time  an
77       install for the same operating system is requested.  The jeos key tells
78       Oz to cache the installed operating system  after  installation.   This
79       can  significantly speed up subsequent installation of the same operat‐
80       ing system, with the additional downside of the operating  system  get‐
81       ting out-of-date with respect to security updates.  Use with care.
82
83

SEE ALSO

85       oz-generate-icicle(1), oz-install(1), oz-customize(1)
86
87

AUTHOR

89       Chris Lalancette <clalance@redhat.com>
90
91
92
93oz-cleanup-cache                   Feb 2011                OZ-CLEANUP-CACHE(1)
Impressum