diff --git a/Vagrantfile b/Vagrantfile index e49ffcf..0b96d89 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -9,7 +9,7 @@ vagrant_root = File.dirname(__FILE__) Vagrant.configure("2") do |config| config.hostmanager.enabled = true config.hostmanager.manage_host = true - config.hostmanager.manage_guest = true + config.hostmanager.manage_guest = false config.hostmanager.ignore_private_ip = false config.hostmanager.include_offline = true @@ -30,29 +30,15 @@ Vagrant.configure("2") do |config| app.vm.provider "docker" do |d| d.image = "quay.io/pterodactyl/vagrant-panel" - d.create_args = ["-it"] + d.create_args = ["-it", "--add-host=host.pterodactyl.local:172.18.0.1"] d.ports = ["80:80", "8080:8080", "8081:8081"] d.volumes = ["#{vagrant_root}/code/panel:/srv/www:cached"] d.remains_running = true d.has_ssh = true end - app.vm.provision :file, source: "build/configs", destination: "/tmp/.deploy" - - app.vm.provision :shell, run: "once", inline: <<-SHELL -cat >> /etc/hosts <