Add Vagrantfile for radare2 + ArchLinux

This commit is contained in:
pancake 2017-12-19 00:50:56 +01:00
parent f27f87ea5c
commit d7e0fcad8f
2 changed files with 24 additions and 0 deletions

17
Vagrantfile vendored Normal file
View File

@ -0,0 +1,17 @@
Vagrant.configure("2") do |config|
# config.vm.box = "trusty64"
# config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.box = "terrywang/archlinux"
config.vm.provision :shell, :path => "Vagrantfile.sh", :privileged => false
config.ssh.username = 'vagrant'
config.ssh.forward_agent = true
config.vm.network "forwarded_port", guest: 9999, host: 9999
config.vm.network "forwarded_port", guest: 9090, host: 9090
# config.vm.synced_folder "/mnt", "/"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
end

7
Vagrantfile.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
# Updates
sudo pacman -Syu
git clone --depth=1 https://github.com/radare/radare2
cd radare2 && ./sys/install.sh