Delete removed dashboard panel when upgrading
The old v1 dashboard panel has been removed, when upgrading from an older version we need to remove the symbolic link for it in order to avoid horizon from failing. Change-Id: I383884aa100fd983e1087d7458396f8053414d55
This commit is contained in:
parent
d9fb34767c
commit
d5f6f2ab7a
@ -49,6 +49,11 @@ set -o xtrace
|
||||
# Save current config files for posterity
|
||||
[[ -d $SAVE_DIR/etc.designate ]] || cp -pr $DESIGNATE_CONF_DIR $SAVE_DIR/etc.designate
|
||||
|
||||
# Hack: uninstall link to removed dashboard panel in order to avoid horizon from failing
|
||||
if [ -L $DEST/horizon/openstack_dashboard/local/enabled/_1720_project_dns_panel.py ]; then
|
||||
rm $DEST/horizon/openstack_dashboard/local/enabled/_1720_project_dns_panel.py
|
||||
fi
|
||||
|
||||
# install_designate()
|
||||
if is_ubuntu; then
|
||||
install_package libcap2-bin
|
||||
|
Loading…
Reference in New Issue
Block a user