diff --git a/meta/io.murano/Resources/Agent-v2.template b/meta/io.murano/Resources/Agent-v2.template index b1f3db9d..772c2bc8 100644 --- a/meta/io.murano/Resources/Agent-v2.template +++ b/meta/io.murano/Resources/Agent-v2.template @@ -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 diff --git a/meta/io.murano/Resources/linux-init.sh b/meta/io.murano/Resources/linux-init.sh index 9667f4b7..4146ea3e 100644 --- a/meta/io.murano/Resources/linux-init.sh +++ b/meta/io.murano/Resources/linux-init.sh @@ -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