Warning, file /sdk/codevis/thirdparty/soci/scripts/vagrant/bootstrap.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/usr/bin/env bash 0002 # Part of Vagrant virtual development environments for SOCI 0003 0004 # Pre-installation 0005 echo "Bootstrap: setting common environment in /etc/profile.d/vagrant-soci.sh" 0006 sudo sh -c "cat /vagrant/scripts/vagrant/common.env > /etc/profile.d/vagrant-soci.sh" 0007 export DEBIAN_FRONTEND="noninteractive" 0008 # Installation 0009 # TODO: Switch to apt-fast when it is avaiable for Trusty 0010 sudo apt-get update -y -q 0011 sudo apt-get -o Dpkg::Options::='--force-confnew' -y -q install \ 0012 build-essential \ 0013 avahi-daemon \ 0014 zip 0015 # Post-installation 0016 ## Configure Avahi to enable .local hostnames used to connect between VMs. 0017 echo "Bootstrap: updating /etc/nsswitch.conf to configure Avahi/MDNS for .local lookup" 0018 sudo sed -i 's/hosts:.*/hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname/g' /etc/nsswitch.conf