fix grenade from mitaka upgrade
Change-Id: I394efc93fd8943d751ece2f89608ea5b04118213
This commit is contained in:
parent
165172f1ae
commit
b122ffbfff
15
devstack/upgrade/from-mitaka/upgrade-sahara
Executable file
15
devstack/upgrade/from-mitaka/upgrade-sahara
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ``upgrade-sahara``
|
||||
|
||||
function configure_sahara_upgrade {
|
||||
XTRACE=$(set +o | grep xtrace)
|
||||
set -o xtrace
|
||||
local old_plugins
|
||||
|
||||
old_plugins=$(cat $SAHARA_CONF_DIR/sahara.conf | grep ^plugins)
|
||||
sed -i.bak "s/$old_plugins/plugins=fake,vanilla,cdh/g" $SAHARA_CONF_DIR/sahara.conf
|
||||
|
||||
# reset to previous state
|
||||
$XTRACE
|
||||
}
|
Loading…
Reference in New Issue
Block a user