Skip to content

Instantly share code, notes, and snippets.

@bellflower2015
Created August 16, 2018 20:36
Show Gist options
  • Save bellflower2015/93e102078dc1653c5787f4d911f0b4ba to your computer and use it in GitHub Desktop.
Save bellflower2015/93e102078dc1653c5787f4d911f0b4ba to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |vb|
vb.name = "wallet-builder"
vb.memory = 8192
vb.cpus = 4
vb.customize [
"modifyvm", :id,
"--hwvirtex", "on",
"--nestedpaging", "on",
"--largepages", "on",
"--ioapic", "on",
"--paravirtprovider", "kvm",
]
end
config.disksize.size = "32GB"
config.vm.network "public_network", ip: "192.168.100.150"
config.vm.synced_folder "/vagrant_data", "/vagrant_data"
config.vm.provision "shell", inline: <<-SHELL
add-apt-repository ppa:jonathonf/vim
apt update -qq
apt upgrade -qq -y
apt install -qq -y vim language-pack-ja build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git tig g++-mingw-w64-x86-64
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
update-locale LANG=ja_JP.UTF-8
curl https://github.com/bellflower2015.keys >> /home/vagrant/.ssh/authorized_keys
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment