forked from tornadoweb/tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
Vagrant::Config.run do |config| | ||
# A freebsd image can be created with veewee | ||
# https://github.com/jedi4ever/veewee | ||
# | ||
# vagrant basebox define freebsd freebsd-8.2-pcbsd-i386-netboot | ||
# vagrant basebox build freebsd | ||
# vagrant basebox export freebsd | ||
# vagrant box add freebsd freebsd.box | ||
config.vm.box = "freebsd" | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
config.vm.guest = :freebsd | ||
|
||
# Note that virtualbox shared folders don't work with freebsd, so | ||
# we'd need nfs shared folders here even if virtualbox gains | ||
# support for symlinks. | ||
config.vm.network :hostonly, "172.19.1.3" | ||
# Name this v-root to clobber the default /vagrant mount point. | ||
# We can't mount it over nfs because there are apparently issues | ||
# when one nfs export is a subfolder of another. | ||
config.vm.share_folder("v-root", "/tornado", "../../..", :nfs => true) | ||
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | ||
VAGRANTFILE_API_VERSION = "2" | ||
|
||
config.vm.provision :shell, :path => "setup.sh" | ||
end | ||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
config.vm.box = "chef/freebsd-10.0" | ||
|
||
config.vm.network "private_network", type: "dhcp" | ||
|
||
# Share an additional folder to the guest VM. The first argument is | ||
# the path on the host to the actual folder. The second argument is | ||
# the path on the guest to mount the folder. And the optional third | ||
# argument is a set of non-required options. | ||
config.vm.synced_folder "../../..", "/tornado", type: "nfs" | ||
|
||
# Override the default /vagrant mapping to use nfs, since freebsd doesn't | ||
# support other folder types. | ||
config.vm.synced_folder ".", "/vagrant", type: "nfs" | ||
|
||
config.ssh.shell = "/bin/sh" | ||
|
||
config.vm.provision :shell, :path => "setup.sh" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters