X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=bootstrap.sh;h=efd5f3491011c6ae2504bf998abe39c43e1e1d33;hp=01b7968cd026a5f8ffb6ecbfcdecbf1247b76baa;hb=8c7cb6f40ba2eae5be65af023990cd89778f0469;hpb=8f285166faf13156a4f7c70adac9a7e20549268f diff --git a/bootstrap.sh b/bootstrap.sh index 01b7968cd0..efd5f34910 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,54 +1,33 @@ #!/bin/bash -#set -xeuf -o pipefail +# Copyright (c) 2016 Cisco and/or its affiliates. +# 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. + set -x -#sudo apt-get -y install libpython2.7-dev +echo | sudo tee -a /etc/hostname +echo "127.0.0.1 `cat /etc/hostname` " | sudo tee -a /etc/hosts -rm -f priv_key -cat > priv_key < ${VIRL_PKEY} <