From d38f9131da4a6c88dc1745c0c30267f74e939bd2 Mon Sep 17 00:00:00 2001
From: Narinder Gupta <narinder.gupta@canonical.com>
Date: Fri, 17 Feb 2017 16:02:10 -0600
Subject: [PATCH] modfied the container with default spaces otherwise lxd
 creation failed.

Change-Id: I6e02d25a19214852203bb2fee67b693e6bf416fc
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
---
 ci/config_tpl/juju2/bundlek8_tpl/easyrsa.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ci/config_tpl/juju2/bundlek8_tpl/easyrsa.yaml b/ci/config_tpl/juju2/bundlek8_tpl/easyrsa.yaml
index 27c0e874..a4633fcb 100644
--- a/ci/config_tpl/juju2/bundlek8_tpl/easyrsa.yaml
+++ b/ci/config_tpl/juju2/bundlek8_tpl/easyrsa.yaml
@@ -1,6 +1,10 @@
     easyrsa:
       charm: "cs:~containers/easyrsa"
       num_units: 1
+{% if os.service.bindings %}
+      bindings:
+        "": internal-api
+{% endif %}
       to:
         - "lxd:nodes/0"
 
-- 
2.16.6