Add post installation script to deliver newrelease.yaml
This commit is contained in:
parent
ba2a7989d1
commit
a6607881d0
|
@ -0,0 +1,9 @@
|
|||
name=${1-"xenserver-fuel-plugin*"}
|
||||
|
||||
dockerctl copy cleardb.py nailgun:/tmp/cleardb.py
|
||||
dockerctl shell nailgun /tmp/cleardb.py
|
||||
dockerctl shell nailgun rm /tmp/cleardb.py
|
||||
dockerctl copy newrelease.yaml nailgun:/tmp/newrelease.yaml
|
||||
dockerctl shell nailgun manage.py loaddata /tmp/newrelease.yaml
|
||||
dockerctl shell nailgun rm /tmp/newrelease.yaml
|
||||
fuel rel --sync-deployment-tasks --dir /etc/puppet/
|
Loading…
Reference in New Issue