summaryrefslogtreecommitdiffstats
path: root/ci/01-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-16 00:15:43 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 20:02:49 +0000
commit777b9b40745e747438939d4fa5bdab71015ac701 (patch)
treebc08f87dd3fe4bcfe210e8d0d21f33efd915b49d /ci/01-deploybundle.sh
parentd85f6748ea307109b64beb7adbbbf6e694360f87 (diff)
added a command line option -f in deploy.sh to enable ipv6 during
deployment. Change-Id: I628b37b4e9434a613851e020cb5be6fb1ac5934b (cherry picked from commit 65fa4d4b473684b9dc97b12886026e306964edba)
Diffstat (limited to 'ci/01-deploybundle.sh')
-rwxr-xr-xci/01-deploybundle.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index 455aef94..9452d7ae 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -56,6 +56,12 @@ case "$3" in
;;
esac
+case "$5" in
+ 'ipv6' )
+ sed -i -- 's/#prefer-ipv6: true/prefer-ipv6: true/g' ./bundles.yaml
+ ;;
+esac
+
echo "... Deployment Started ...."
case "$1" in
'nonha' )