Add Vagrantfile for radare2 + ArchLinux
This commit is contained in:
parent
f27f87ea5c
commit
d7e0fcad8f
|
@ -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
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Updates
|
||||
sudo pacman -Syu
|
||||
|
||||
git clone --depth=1 https://github.com/radare/radare2
|
||||
cd radare2 && ./sys/install.sh
|
Loading…
Reference in New Issue