From 947c8e8e7016e830bcee1fbdf787869767106951 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Mon, 12 Jun 2017 13:14:44 +0200 Subject: [PATCH] add support for vagrant-dns --- .dev/vagrant/provision.sh | 3 +++ Vagrantfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.dev/vagrant/provision.sh b/.dev/vagrant/provision.sh index 3f7ff489..abb93dbe 100644 --- a/.dev/vagrant/provision.sh +++ b/.dev/vagrant/provision.sh @@ -75,3 +75,6 @@ echo "You may use the default admin user to login: admin/Ptero123" echo "A normal user has also been created: user/Ptero123" echo "MailHog is available at http://localhost:58025/" echo "Connect to the database using root/pterodactyl or pterodactyl/pterodactyl on localhost:53306" +echo "If you want to access the panel using http://pterodactyl.app you can use the vagrant-dns plugin" +echo "Install it with 'vagrant plugin install vagrant-dns', then run 'vagrant dns --install' once" +echo "On first use you'll have to manually start vagrant-dns with 'vagrant dns --start'" diff --git a/Vagrantfile b/Vagrantfile index 515b75f1..ed4b5bd4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,4 +15,7 @@ Vagrant.configure("2") do |config| config.vm.network :forwarded_port, guest: 8025, host: 58025 config.vm.network :forwarded_port, guest: 3306, host: 53306 + # Config for the vagrant-dns plugin (https://github.com/BerlinVagrant/vagrant-dns) + config.dns.tld = "app" + config.dns.patterns = [/^pterodactyl.app$/] end