From 622f7f9ea6e387f14c5287b10b842093bc5197b4 Mon Sep 17 00:00:00 2001
From: Radoslav Gerganov <rgerganov@vmware.com>
Date: Wed, 29 Mar 2017 15:37:28 +0300
Subject: [PATCH] Make devstack plugin set serial_log_dir in nova.conf

The Nova patch which adds 'serial_log_dir' is still under review but we
want to set it in the devstack plugin. This will enable dowstream
developers to run tempest tests for the console output feature.

Change-Id: I4e70ebe517a28a7e6a1d4e782d21b495fb484523
---
 devstack/plugin.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 0c10344..277d46c 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -47,6 +47,7 @@ function configure_vspc {
     PROXY_URI="telnets://$SERVICE_HOST:$VSPC_PORT#thumbprint=$THUMBPRINT"
     iniset $NOVA_CONF vmware serial_port_service_uri "$VSPC_URI"
     iniset $NOVA_CONF vmware serial_port_proxy_uri "$PROXY_URI"
+    iniset $NOVA_CONF vmware serial_log_dir "$VSPC_LOG_DIR"
 }
 
 function start_vspc {