diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-07-31 05:33:12 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-07-31 05:33:12 +0000 |
| commit | 3b96ba8add2ee3e544d4d0cbee98b9219fa45a00 (patch) | |
| tree | aa487f7b70d6f6778da929029900ba826048d81b | |
| parent | 8579e3a86b626f6a4c879897d1f44add6419744c (diff) | |
| parent | a8e83e130d999fecc217cc8581558193da780bc7 (diff) | |
Merge "Turn on base image cleanup by default."
| -rw-r--r-- | etc/nova/nova.conf.sample | 2 | ||||
| -rw-r--r-- | nova/virt/libvirt/imagecache.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index 879838eb7..e03b8363e 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -1440,7 +1440,7 @@ ######## defined in nova.virt.libvirt.imagecache ######## -# remove_unused_base_images=false +# remove_unused_base_images=true #### (BoolOpt) Should unused base images be removed? # remove_unused_resized_minimum_age_seconds=3600 diff --git a/nova/virt/libvirt/imagecache.py b/nova/virt/libvirt/imagecache.py index 11dc2255e..fe96f1aec 100644 --- a/nova/virt/libvirt/imagecache.py +++ b/nova/virt/libvirt/imagecache.py @@ -41,7 +41,7 @@ LOG = logging.getLogger(__name__) imagecache_opts = [ cfg.BoolOpt('remove_unused_base_images', - default=False, + default=True, help='Should unused base images be removed?'), cfg.IntOpt('remove_unused_resized_minimum_age_seconds', default=3600, |
