From 811d00c461c115ad234329b3c8261f635c081284 Mon Sep 17 00:00:00 2001 From: John Hua Date: Fri, 21 Aug 2015 19:10:29 +0800 Subject: [PATCH] Fix post install current path --- post_install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post_install.sh b/post_install.sh index cc1cda6..4de89b6 100644 --- a/post_install.sh +++ b/post_install.sh @@ -1,4 +1,6 @@ +name=${1-"xenserver-fuel-plugin*"} 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