Fixed devstack plugin

Fixed an issue that may break a devstack env:

++/opt/stack/tobiko/devstack/plugin.sh:configure_tobiko:17  cp
/etc/tobiko/tobiko.conf ''
cp: cannot create regular file ‘’: No such file or directory

Change-Id: If885368693683e4c5d71a4b92d674c32ff02a94a
This commit is contained in:
Gregory Thiemonge 2019-12-04 16:18:16 +01:00 committed by Federico Ressi
parent 6a48d2c3e0
commit 61d378ac88
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function configure_tobiko {
local tobiko_conf_file=$(mktemp)
if [ -f "${TOBIKO_CONF_FILE}" ]; then
# Start from existing tobiko.conf file
cp "${TOBIKO_CONF_FILE}" "${tobiko_conf}"
cp "${TOBIKO_CONF_FILE}" "${tobiko_conf_file}"
fi
configure_tobiko_default "${tobiko_conf_file}"