Add env var to control flushing lxc image cache