Commit 8f57de0f463fd56b575a7001c461d11c4c24b392

Authored by Marco Antonio Konopacki
1 parent 9ec05a6d

adicionando aviso para instalar o plugin de triggers do vagrant se tiver problemas

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
Vagrantfile
... ... @@ -56,6 +56,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
56 56 config.vm.provision "shell", inline: $updateServices,
57 57 run: "always"
58 58  
  59 + # Use 'vagrant plugin install vagrant-triggers' to install the trigger module
59 60 config.trigger.after [:provision, :up, :reload] do
60 61 if FFI::Platform::IS_LINUX
61 62 system("sudo iptables -t nat -A OUTPUT -o lo -p tcp --dport 80 -j REDIRECT --to-port 8080")
... ... @@ -80,4 +81,4 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
80 81 #config.vm.provider :virtualbox do |vb|
81 82 # vb.gui = true
82 83 #end
83   -end
84 84 \ No newline at end of file
  85 +end
... ...