From bc321f147534ecae3cbe241259504403ebcac719 Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 28 Sep 2018 17:07:35 +0300 Subject: [PATCH] convert default_image_owner to seperate guid and uid --- webvirtcloud/settings.py.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index f99681d..c6fee3a 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -19,6 +19,7 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'dashboards', 'computes', 'console', 'networks', @@ -152,5 +153,5 @@ VIEW_INSTANCES_LIST_STYLE = 'grouped' INSTANCE_VOLUME_DEFAULT_FORMAT = 'qcow2' INSTANCE_VOLUME_DEFAULT_BUS = 'virtio' INSTANCE_VOLUME_DEFAULT_CACHE = 'directsync' -# [uid,guid] values are up to os, 0=root, 107=qemu or libvirt-bin(for ubuntu) -INSTANCE_VOLUME_DEFAULT_OWNER = [107, 107] \ No newline at end of file +# up to os, 0=root, 107=qemu or libvirt-bin(for ubuntu) +INSTANCE_VOLUME_DEFAULT_OWNER = {'uid': 0, 'guid': 0}