forked from fix/ledger-vagrant
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
27 lines (22 loc) · 731 Bytes
/
Vagrantfile
File metadata and controls
27 lines (22 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Vagrant.configure("2") do |config|
# Specify the base box
config.vm.box = "ubuntu/bionic64"
config.vm.synced_folder "apps/", "/home/vagrant/apps"
# VM specific configs
config.vm.provider "virtualbox" do |v|
v.name = "Ledger development box bitshares"
v.customize ["modifyvm", :id, "--memory", "1024"]
# Connect Ledger Nano S throug usb
v.customize ["modifyvm", :id, "--usb", "on"]
v.customize ["modifyvm", :id, "--usbehci", "on"]
v.customize ["usbfilter", "add", "0",
"--target", :id,
"--name", "Ledger Nano S",
"--manufacturer", "Ledger",
"--product", "Nano S"]
end
# Shell provisioning
config.vm.provision "shell" do |s|
s.path = "provision/setup.sh"
end
end