summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2018-09-17 16:39:01 +0200
committerTor Egge <Tor.Egge@broadpark.no>2018-09-17 16:39:01 +0200
commitd950a87eec8d4f3adb99b06842bb5c6189232b83 (patch)
treee174acfcd10d336f189cc237afac5b8b940aa8e9 /vagrant
parent00241141adfa8a9ef6a75fc9d82887dbf00468fd (diff)
Install vespa runtime dependencies.
Diffstat (limited to 'vagrant')
-rw-r--r--vagrant/Vagrantfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index f15f45d75a0..996636aeb01 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -61,7 +61,9 @@ Vagrant.configure("2") do |config|
firefox \
vim \
emacs
- yum-builddep -y /vagrant/dist/vespa.spec
+ sed -e '/^BuildRequires:/d' -e 's/^Requires:/BuildRequires:/' /vagrant/dist/vespa.spec > /tmp/vesparun.spec
+ yum-builddep -y /vagrant/dist/vespa.spec /tmp/vesparun.spec
+ rm /tmp/vesparun.spec
echo -e "* soft nproc 409600\n* hard nproc 409600" > /etc/security/limits.d/99-nproc.conf
echo -e "* soft nofile 262144\n* hard nofile 262144" > /etc/security/limits.d/99-nofile.conf