From 97c6a8bb1847febe8bda5f95e19f527cabc060b9 Mon Sep 17 00:00:00 2001 From: Marcel Enguehard Date: Mon, 29 May 2017 15:54:39 +0200 Subject: Misc bug fixes: VPP, deb package detection, lxd Change-Id: Ib3d339e636c0ec62dc0fe3227af85bcc167445cf Signed-off-by: Marcel Enguehard --- vicn/resource/lxd/lxd_hypervisor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vicn/resource/lxd/lxd_hypervisor.py') diff --git a/vicn/resource/lxd/lxd_hypervisor.py b/vicn/resource/lxd/lxd_hypervisor.py index f9952e4f..bbdba7c6 100644 --- a/vicn/resource/lxd/lxd_hypervisor.py +++ b/vicn/resource/lxd/lxd_hypervisor.py @@ -52,7 +52,6 @@ DEFAULT_CERT_PATH = os.path.expanduser(os.path.join( DEFAULT_KEY_PATH = os.path.expanduser(os.path.join( '~', '.vicn', 'lxd_client_cert', 'client_key.pem')) -# FIXME hardcoded password for LXD server LXD_TRUST_PWD_DEFAULT = 'vicn' LXD_STORAGE_SIZE_DEFAULT = 100 # GB @@ -199,6 +198,8 @@ class LxdHypervisor(Service): owner = self) lxd_cert_install = LxdInstallCert(certificate = lxd_local_cert, owner = self) + # XXX BUG network has to exist before profile, although as an attribute it + # will be setup after lxd_vicn_profile = LxdProfile(name=LXD_PROFILE_NAME_DEFAULT, node=self.node, description='vICN profile', -- cgit 1.2.3-korg