-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
26 lines (20 loc) · 1.18 KB
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# 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 = "ubuntu12.04"
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
config.vm.hostname = "hyperlocation.local"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "3048", "--cpus", "2", "--ioapic", "on"]
end
config.vm.provision :shell, :inline => "sudo apt-get update"
config.vm.provision :shell, :inline => "sudo apt-get install -y language-pack-ja"
config.vm.provision :shell, :inline => "sudo dpkg-reconfigure locales"
config.vm.provision :shell, :inline => "sudo update-locale LANG=ja_JP.UTF-8"
config.vm.provision :shell, :inline => "sudo apt-get install -y git vim screen tmux zsh ruby1.9.1"
config.vm.provision :shell, :inline => "sudo gem install bundler"
#config.vm.provision :shell, :inline => "mkdir /home/vagrant/dev"
#config.vm.provision :shell, :inline => "git clone [email protected]:ISAC-Tokyo/HyperLocation.git /home/vagrant/dev/"
end