
Reviewed-By: Ramon Medeiros <ramonn@br.ibm.com> On 08/25/2016 02:01 PM, dhbarboza82@gmail.com wrote:
From: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
This patch makes the '/data/virtviewerfiles' dir behave the same as '/data/screenshots', being created automatically at Kimchi startup if it doesn't exists.
Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com> --- root.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/root.py b/root.py index a88f97d..90680b4 100644 --- a/root.py +++ b/root.py @@ -37,7 +37,8 @@ class Kimchi(WokRoot): make_dirs = [ os.path.dirname(os.path.abspath(config.get_object_store())), os.path.abspath(config.get_distros_store()), - os.path.abspath(config.get_screenshot_path()) + os.path.abspath(config.get_screenshot_path()), + os.path.abspath(config.get_virtviewerfiles_path()) ] for directory in make_dirs: if not os.path.isdir(directory):
-- Ramon Nunes Medeiros Kimchi Developer Linux Technology Center Brazil IBM Systems & Technology Group Phone : +55 19 2132 7878 ramonn@br.ibm.com