Fixed name of the log file on VM

Small fix for images with pre-created /etc/murano directory

Change-Id: Ie5738b89efba7619f0d4e30500407ff0daea4f6a
This commit is contained in:
Serg Melikyan 2014-04-22 18:45:55 +04:00
parent 20905c2591
commit ca9aae1554
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[DEFAULT]
debug=True
verbose=True
log_file = /var/log/murano-agnet.log
log_file = /var/log/murano-agent.log
storage=/var/murano/plans

View File

@ -4,7 +4,9 @@ service murano-agent stop
AgentConfigBase64='%AGENT_CONFIG_BASE64%'
mkdir /etc/murano
if [[ ! -d /etc/murano ]]; then
mkdir /etc/murano
fi
echo $AgentConfigBase64 | base64 -d > /etc/murano/agent.conf
chmod 664 /etc/murano/agent.conf