mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Add a Vagrantfile and the list of golden domains.
This commit is contained in:
parent
8857302347
commit
f0b9ef2716
3 changed files with 59 additions and 0 deletions
27
Vagrantfile
vendored
Normal file
27
Vagrantfile
vendored
Normal file
|
|
@ -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
|
||||
22
golden-domains.txt
Normal file
22
golden-domains.txt
Normal file
|
|
@ -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
|
||||
10
vagrant-bootstrap.sh
Executable file
10
vagrant-bootstrap.sh
Executable file
|
|
@ -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
|
||||
Loading…
Reference in a new issue