[Kimchi-devel] [PATCH] [Kimchi] Github #986: create '/data/virtviewerfiles' dir automatically

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Thu Aug 25 19:59:19 UTC 2016


Tested-by: Paulo Ricardo Paz Vital <pvital at linux.vnet.ibm.com>
Reviewed-by: Paulo Ricardo Paz Vital <pvital at linux.vnet.ibm.com>

On Aug 25 02:01PM, dhbarboza82 at gmail.com wrote:
> From: Daniel Henrique Barboza <danielhb at 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 at 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):
> -- 
> 2.5.5
> 
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
> 

-- 
Paulo Ricardo Paz Vital
Linux Technology Center, IBM Systems
http://www.ibm.com/linux/ltc/




More information about the Kimchi-devel mailing list