Check dashboard symlinks during horizon plugin installation

This patch add '-f' flag to horizon plugin symlink generation.
It helps to prevent deployment fails if symlink already exists.

Change-Id: I94ece2689c9b7332958e32788b5531d540b063f8
Closes-Bug: #1508023
This commit is contained in:
Victor Ryzhenkin 2015-10-20 14:16:55 +03:00
parent ca4631fb1d
commit 0ced007109

View File

@ -366,7 +366,7 @@ EOF
fi
# Install Murano as plugin for Horizon
ln -s $MURANO_DASHBOARD_DIR/muranodashboard/local/_50_murano.py $HORIZON_DIR/openstack_dashboard/local/enabled/
ln -sf $MURANO_DASHBOARD_DIR/muranodashboard/local/_50_murano.py $HORIZON_DIR/openstack_dashboard/local/enabled/
}
# init_murano_dashboard() - Initialize databases, etc.