summaryrefslogtreecommitdiffstats
path: root/vio/docker
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2018-01-16 11:50:17 +0800
committerEthan Lynn <ethanlynnl@vmware.com>2018-01-16 11:56:30 +0800
commit965979f8ba0e18da785afa00698c940001916966 (patch)
treec6575b6019188dc1256c9f1c8906826055c6f2b4 /vio/docker
parent2b354ac832492da320f5e921041dafbee6c3f64b (diff)
Update license for VIO plugin
Update license Change-Id: I97cf6e844c5f942ff2a91c7d26a118d0a41fec71 Issue-ID: MULTICLOUD-141 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'vio/docker')
-rwxr-xr-xvio/docker/build_image.sh14
-rwxr-xr-xvio/docker/docker-entrypoint.sh13
-rwxr-xr-xvio/docker/instance-config.sh15
-rwxr-xr-xvio/docker/instance-init.sh13
-rwxr-xr-xvio/docker/instance-run.sh13
5 files changed, 67 insertions, 1 deletions
diff --git a/vio/docker/build_image.sh b/vio/docker/build_image.sh
index e7a652f..10e3fa0 100755
--- a/vio/docker/build_image.sh
+++ b/vio/docker/build_image.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright (c) 2017-2018 VMware, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
DIRNAME=`dirname $0`
DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd`
echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}"
diff --git a/vio/docker/docker-entrypoint.sh b/vio/docker/docker-entrypoint.sh
index 632c558..7858fae 100755
--- a/vio/docker/docker-entrypoint.sh
+++ b/vio/docker/docker-entrypoint.sh
@@ -1,4 +1,17 @@
#!/bin/bash
+# Copyright (c) 2017-2018 VMware, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
if [ -z "$SERVICE_IP" ]; then
diff --git a/vio/docker/instance-config.sh b/vio/docker/instance-config.sh
index cb05a9a..5623109 100755
--- a/vio/docker/instance-config.sh
+++ b/vio/docker/instance-config.sh
@@ -1,4 +1,17 @@
-#!/usr/bin/env bash
+#!/bin/bash
+# Copyright (c) 2017-2018 VMware, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# Configure MSB IP address
MSB_IP=`echo $MSB_ADDR | cut -d: -f 1`
diff --git a/vio/docker/instance-init.sh b/vio/docker/instance-init.sh
index f7e0e0e..37a4d89 100755
--- a/vio/docker/instance-init.sh
+++ b/vio/docker/instance-init.sh
@@ -1,4 +1,17 @@
#!/bin/bash -v
+# Copyright (c) 2017-2018 VMware, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# Initialize DB schema
#./bin/initDB.sh root rootpass 3306 127.0.0.1
diff --git a/vio/docker/instance-run.sh b/vio/docker/instance-run.sh
index d01cebb..9dabfa2 100755
--- a/vio/docker/instance-run.sh
+++ b/vio/docker/instance-run.sh
@@ -1,4 +1,17 @@
#!/bin/bash -v
+# Copyright (c) 2017-2018 VMware, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
cd ./vio
./run.sh