mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Add a Vagrantfile and the list of golden domains.
This commit is contained in:
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
||||
VAGRANTFILE_API_VERSION = "2"
|
||||
|
||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
# All Vagrant configuration is done here. The most common configuration
|
||||
# options are documented and commented below. For a complete reference,
|
||||
# please see the online documentation at vagrantup.com.
|
||||
|
||||
# Every Vagrant virtual environment requires a box to build off of.
|
||||
config.vm.box = "hashicorp/precise32"
|
||||
|
||||
config.vm.define "sender" do |sender|
|
||||
sender.vm.network "private_network", ip: "192.168.33.5"
|
||||
end
|
||||
config.vm.define "valid" do |valid|
|
||||
valid.vm.network "private_network", ip: "192.168.33.7"
|
||||
end
|
||||
config.vm.provision :shell, path: "vagrant-bootstrap.sh"
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
# vb.gui = true
|
||||
vb.customize ["modifyvm", :id, "--memory", "256"]
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
ymail.com
|
||||
yandex.ru
|
||||
yahoo.co.uk
|
||||
wp.pl
|
||||
web.de
|
||||
vtext.com
|
||||
ukr.net
|
||||
t-online.de
|
||||
sompo-japan.co.jp
|
||||
sbcglobal.net
|
||||
salesforce.com
|
||||
rogers.com
|
||||
rocketmail.com
|
||||
rambler.ru
|
||||
marktplaats.nl
|
||||
interia.pl
|
||||
gmx.net
|
||||
gmx.de
|
||||
facebook.com
|
||||
craigslist.org
|
||||
bigpond.com
|
||||
aol.com
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
apt-get update -q
|
||||
apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postfix
|
||||
cat > /etc/hosts <<<EOF
|
||||
192.168.33.5 sender sender.example.com
|
||||
192.168.33.7 valid valid-example-recipient.com
|
||||
EOF
|
||||
Reference in New Issue
Block a user