summaryrefslogtreecommitdiffstats
path: root/deploy/post.sh
diff options
context:
space:
mode:
authorZhijiang Hu <hu.zhijiang@zte.com.cn>2017-07-27 00:59:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-27 00:59:13 +0000
commit55ab19b724474a7db45f7aa62d89097a57cb97cb (patch)
treec7e9147f37005bfcb6a3787d6e1a4a3f5d620069 /deploy/post.sh
parent1efff0d9d55114ba5bad95c1e21c2909edd649f5 (diff)
parent8d951bd35aca9af5f4fa26fec643d25622f4f466 (diff)
Merge "Convert the bash commands in post.sh to python code"
Diffstat (limited to 'deploy/post.sh')
-rwxr-xr-xdeploy/post.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/deploy/post.sh b/deploy/post.sh
index 3077e007..b65d429b 100755
--- a/deploy/post.sh
+++ b/deploy/post.sh
@@ -1,4 +1,12 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2016 ZTE Corporation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
SCRIPT_PATH=$(readlink -f $(dirname $0))
@@ -50,6 +58,3 @@ if [ ! $? -eq 0 ]; then
exit 1
fi
-source /etc/kolla/admin-openrc.sh
-openstack security group rule create --proto icmp default
-openstack security group rule create --proto tcp --dst-port 22 default