diff options
author | 2016-08-19 16:56:57 +0200 | |
---|---|---|
committer | 2016-08-19 17:05:43 +0200 | |
commit | b47d696bf3bd5640f44b43cdb12688dc19a0b5d7 (patch) | |
tree | bb0897c3590535664cf7e5ee65662ef7ca927779 /vagrant/bootstrap.centos7.sh | |
parent | 0ce0fa21ea0ae4f6e2b56546a8275901f9cf8196 (diff) |
Remove vagrant scripts
Scripts were not updated for a long time,
and are not actually needed.
VPP vagrant scripts can be used instead.
Honeycomb build needs only mvn and Java8.
Change-Id: Icba286793fad4780f3ee1a3565a15b303146c82f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vagrant/bootstrap.centos7.sh')
-rw-r--r-- | vagrant/bootstrap.centos7.sh | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/vagrant/bootstrap.centos7.sh b/vagrant/bootstrap.centos7.sh deleted file mode 100644 index f55e68a24..000000000 --- a/vagrant/bootstrap.centos7.sh +++ /dev/null @@ -1,46 +0,0 @@ - -# Standard update + upgrade dance -yum check-update -yum update -y - -# Install build tools -yum groupinstall 'Development Tools' -y -yum install openssl-devel -y -yum install glibc-static -y - -# Install jdk and maven -yum install -y java-1.8.0-openjdk-devel - -# Load the uio kernel module -modprobe uio_pci_generic - -echo uio_pci_generic >> /etc/modules-load.d/uio_pci_generic.conf - -# Setup for hugepages using upstart so it persists across reboots -sysctl -w vm.nr_hugepages=1024 -echo "vm.nr_hugepages=1024" >> /etc/sysctl.conf -mkdir -p /mnt/huge -echo "hugetlbfs /mnt/huge hugetlbfs defaults 0 0" >> /etc/fstab -mount /mnt/huge - -# Setup the vpp code -cd ~vagrant/ -sudo -u vagrant mkdir git -cd git/ - -# Check if git exists and remove it before attempting clone, else clone ineffective when "reload --provision" -[ -d vpp ] && rm -rf vpp -sudo -H -u vagrant git clone /vpp -cd vpp - -# Initial vpp build -if [ -d build-root ]; then - # Bootstrap vpp - cd build-root/ - sudo -H -u vagrant ./bootstrap.sh - - # Build vpp - sudo -H -u vagrant make PLATFORM=vpp TAG=vpp_debug install-packages - cd ~vagrant/ - cat /vagrant/README -fi |