File: Vagrantfile

package info (click to toggle)
voltron 0.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 668 kB
  • sloc: python: 5,724; sh: 252; javascript: 118; ansic: 49; makefile: 5
file content (33 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (4)
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
28
29
30
31
32
33
Vagrant.configure(2) do |config|
  config.vm.hostname = "voltron"
  config.vm.box = "ubuntu/trusty64"

  config.vm.provider :virtualbox do |v|
    v.memory = 1024
    v.linked_clone = true
  end

  config.vm.network "forwarded_port", guest: 5555, host: 5556

  config.vm.synced_folder "../", "/voltron"
  config.vm.synced_folder "~/shared", "/shared"

  config.vm.provision "shell", inline: <<-SHELL
    apt-get update
    apt-get upgrade -y
    apt-get install -y \
        build-essential \
        gdb \
        zsh \
        python3-pip \
        lldb-3.8
    pip3 install six --upgrade
    su - vagrant -c "cd /voltron ; ./install.sh"
    mkdir -p /home/vagrant/.voltron
    chown vagrant:vagrant /home/vagrant/.voltron -R
    cat >/home/vagrant/.voltron/config <<END
general:
  debug_logging: true
END
  SHELL
end