From bbaf1c29ab636b6bd213879a40dada99130b1339 Mon Sep 17 00:00:00 2001 From: MacPingu Date: Wed, 4 Nov 2020 20:09:02 +0100 Subject: [PATCH] Add vagrant (#212) * added vagrant * update buildout --- .gitignore | 3 +++ Makefile | 4 ++-- Vagrantfile | 29 +++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index d2b351297..d8c277a0d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ # Docker #Dockerfile +# Vagrant +.vagrant + # custom configs custom.cfg Makefile.config diff --git a/Makefile b/Makefile index 5336151d0..7648cb8ab 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 000000000..a36193386 --- /dev/null +++ b/Vagrantfile @@ -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