Skip to content

Commit

Permalink
install libcap2-bin on debian vagrants
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Feb 17, 2024
1 parent 1a87872 commit f3704d4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Vagrant.configure("2") do |config|
debian.vm.provision "file", source: "./", destination: "/home/vagrant/try"
debian.vm.provision "shell", privileged: false, inline: "
sudo apt-get update
sudo apt-get install -y git expect curl
sudo apt-get install -y git expect curl libcap2-bin
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
sudo ./setup.sh
scripts/run_tests.sh
"
end
Expand All @@ -25,10 +25,10 @@ Vagrant.configure("2") do |config|
debianrustup.vm.provision "file", source: "./", destination: "/home/vagrant/try"
debianrustup.vm.provision "shell", privileged: false, inline: "
sudo apt-get update
sudo apt-get install -y curl
sudo apt-get install -y curl libcap2-bin
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
sudo ./setup.sh
mkdir rustup
./try -D rustup \"curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\"
ls -lah rustup/upperdir/home/vagrant/.cargo/bin
Expand All @@ -41,7 +41,7 @@ Vagrant.configure("2") do |config|
debianlvm.vm.provision "file", source: "./", destination: "/home/vagrant/try"
debianlvm.vm.provision "shell", privileged: false, inline: "
sudo apt-get update
sudo apt-get install -y git expect lvm2 mergerfs curl
sudo apt-get install -y git expect lvm2 mergerfs curl libcap2-bin
# Create an image for the lvm disk
sudo fallocate -l 2G /root/lvm_disk.img
Expand All @@ -67,7 +67,7 @@ Vagrant.configure("2") do |config|
sudo chown -R vagrant:vagrant /mnt/lv0/try
cd /mnt/lv0/try
./setup.sh
sudo ./setup.sh
scripts/run_tests.sh
"
end
Expand All @@ -80,7 +80,7 @@ Vagrant.configure("2") do |config|
sudo yum install -y git expect curl
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
sudo ./setup.sh
TRY_TOP=$(pwd) scripts/run_tests.sh
"
end
Expand All @@ -93,7 +93,7 @@ Vagrant.configure("2") do |config|
sudo yum install -y git expect curl
sudo chown -R vagrant:vagrant try
cd try
./setup.sh
sudo ./setup.sh
TRY_TOP=$(pwd) scripts/run_tests.sh
"
end
Expand Down

0 comments on commit f3704d4

Please sign in to comment.