X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bootstrap.sh;h=37508668ff97f69ad72da488371f027df3daf0f2;hb=5fbbffd70f3b03b1778d31173065d86bfcc9a975;hp=01b7968cd026a5f8ffb6ecbfcdecbf1247b76baa;hpb=8f285166faf13156a4f7c70adac9a7e20549268f;p=csit.git diff --git a/bootstrap.sh b/bootstrap.sh index 01b7968cd0..37508668ff 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} <