fuel-plugin-xenserver/uninstall.sh

8 lines
257 B
Bash

name=${1-"fuel-plugin-xenserver*"}
cd /var/www/nailgun/plugins/%{name}
dockerctl copy cleardb.py nailgun:/tmp/cleardb.py
dockerctl shell nailgun /tmp/cleardb.py
dockerctl shell nailgun rm /tmp/cleardb.py
fuel rel --sync-deployment-tasks --dir /etc/puppet/