From 49716fc081f4e6a0bfc6f9d6a500c7a71cea4d30 Mon Sep 17 00:00:00 2001 From: Zhijiang Hu Date: Thu, 17 Aug 2017 05:25:51 -0400 Subject: [PATCH] Update license info Change-Id: Ia5d84b758416e56f12b2d8616c5e50459e971664 Signed-off-by: Zhijiang Hu --- backend/kolla/daisy.py | 15 +++++++++++++++ backend/kolla/getnodeinfo.sh | 7 +++++++ backend/kolla/linux_action.sh | 7 +++++++ backend/kolla/prepare.sh | 8 ++++++++ backend/trustme.sh | 9 +++++++-- 5 files changed, 44 insertions(+), 2 deletions(-) diff --git a/backend/kolla/daisy.py b/backend/kolla/daisy.py index 3994bf81..b5e1aa9e 100755 --- a/backend/kolla/daisy.py +++ b/backend/kolla/daisy.py @@ -1,4 +1,19 @@ #!/usr/bin/python +# Copyright 2012 OpenStack Foundation +# +# 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. + + # -*- coding: utf-8 -*- import json diff --git a/backend/kolla/getnodeinfo.sh b/backend/kolla/getnodeinfo.sh index f8d7edda..17f2b46b 100755 --- a/backend/kolla/getnodeinfo.sh +++ b/backend/kolla/getnodeinfo.sh @@ -1,4 +1,11 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2016 ZTE Coreporation 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 +############################################################################## dhcp_ip="192.0.1.152" listen_port="5050" diff --git a/backend/kolla/linux_action.sh b/backend/kolla/linux_action.sh index 049faeac..aa434026 100755 --- a/backend/kolla/linux_action.sh +++ b/backend/kolla/linux_action.sh @@ -1,4 +1,11 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2016 ZTE Coreporation 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 +############################################################################## log_file='/home/os_install/shell_action.log' diff --git a/backend/kolla/prepare.sh b/backend/kolla/prepare.sh index 90f138c0..b0144674 100755 --- a/backend/kolla/prepare.sh +++ b/backend/kolla/prepare.sh @@ -1,4 +1,12 @@ #! /bin/bash +############################################################################## +# Copyright (c) 2016 ZTE Coreporation 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 +############################################################################## + echo "nameserver 8.8.8.8" > /etc/resolv.conf daisy_management_ip=$1 yum -y install epel-release diff --git a/backend/trustme.sh b/backend/trustme.sh index 11681b7d..1b6cb371 100755 --- a/backend/trustme.sh +++ b/backend/trustme.sh @@ -1,7 +1,12 @@ #!/bin/sh -#to be trusted by other host£¬and no password needed when use ssh command +############################################################################## +# Copyright (c) 2016 ZTE Coreporation 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 +############################################################################## -#check parameters legality logfile=/var/log/trustme.log function print_log {