Skip to content

Commit

Permalink
Add vagrant (#212)
Browse files Browse the repository at this point in the history
* added vagrant

* update buildout
  • Loading branch information
cehbrecht authored Nov 4, 2020
1 parent 9bcdd00 commit bbaf1c2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# Docker
#Dockerfile

# Vagrant
.vagrant

# custom configs
custom.cfg
Makefile.config
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
VERSION := 0.4.0
VERSION := 0.4.1

# Application
APP_ROOT := $(CURDIR)

# Python
SETUPTOOLS_VERSION := 41
BUILDOUT_VERSION := 2.13.1
BUILDOUT_VERSION := 2.13.3

# Buildout files and folders
DOWNLOAD_CACHE := $(APP_ROOT)/downloads
Expand Down
29 changes: 29 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

# This guide is optimized for Vagrant 1.7 and above.
Vagrant.require_version ">= 1.7.0"

Vagrant.configure("2") do |config|

#######################################
### phoenix Servers ######################
#######################################

# Disable the new default behavior introduced in Vagrant 1.7, to
# ensure that all Vagrant machines will use the same SSH key pair.
# See https://github.com/mitchellh/vagrant/issues/5005
config.ssh.insert_key = false
config.ssh.private_key_path = '~/.vagrant.d/insecure_private_key'

config.vm.define "phoenix" do |phoenix|
# phoenix.vm.box = "bento/ubuntu-18.04"
# phoenix.vm.box = "bento/ubuntu-16.04"
# phoenix.vm.box = "bento/debian-9"
phoenix.vm.box = "bento/centos-7"
# phoenix.vm.box = "bento/centos-6"
# phoenix.vm.box = "bento/fedora-27"
phoenix.vm.hostname = "phoenix.local"
phoenix.vm.network "private_network", ip: "192.168.128.200"
end
end

0 comments on commit bbaf1c2

Please sign in to comment.