File: Vagrantfile

package info (click to toggle)
reptyr 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 328 kB
  • sloc: ansic: 2,576; python: 76; makefile: 62; sh: 46
file content (36 lines) | stat: -rw-r--r-- 883 bytes parent folder | download
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
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = "2"

# This Vagrantfile is only for FreeBSD testing; I do Linux development
# natively.
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.define "freebsd" do |machine|
    machine.vm.box = 'chef/freebsd-10.0'
    machine.vm.provision 'shell', inline: <<EOS
sudo pkg install -y gmake
EOS

    machine.ssh.shell = '/bin/sh'
  end

  config.vm.define 'fedora-20-x86' do |machine|
    machine.vm.box = 'chef/fedora-20-i386'
  end

  config.vm.define 'fedora-20-x86_64' do |machine|
    machine.vm.box = 'chef/fedora-20'
  end

  config.vm.define 'centos-6-x86_64' do |machine|
    machine.vm.box = 'bento/centos-6.7'
  end

  config.vm.define 'centos-5-x86_64' do |machine|
    machine.vm.box = 'bento/centos-5.11'
  end

  config.vm.synced_folder ".", "/vagrant", type: 'nfs', id: 'vagrant-root'

end