-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
executable file
·31 lines (24 loc) · 926 Bytes
/
Vagrantfile
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
$fixlocale = <<SCRIPT
echo "LC_CTYPE=\"en_US.UTF-8\"" | sudo tee -a /etc/default/locale > /dev/null
SCRIPT
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.box_version = "20161022.0.0"
config.vm.provider "libvirt" do |v, override|
override.vm.box = "mkutsevol/xenial"
override.vm.box_version = "0.1"
end
config.vm.box_check_update = false
config.vm.network :forwarded_port, guest: 8080, host: 8080
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.provision :shell, :inline => $fixlocale, :privileged => true
config.vm.provision :shell, :path => "ubuntu-deps.sh", :privileged => true
config.vm.provision :shell, :path => "runme-from-vagrant.sh"
end