のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

Vagrant.configure

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  config.vm.box = "maxx/ubuntu16"
  config.vm.network "private_network", type: "dhcp"
  # config.vm.network :private_network, ip: "172.17.8.23", type: "dhcp"
  # config.vm.synced_folder {host_path}, {guest_path}, option...
  config.vm.synced_folder "/vagrant", "/home/vagrant",
	create: true
end