You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2020. It is now read-only.
People often forget adding the route or have typos in their command. Therefore the box should add the correct routes automatically (with the option to turn that off).
The text was updated successfully, but these errors were encountered:
maybe this would help. put this in your Vagrantfile.
module LocalCommand
class Config < Vagrant.plugin("2", :config)
attr_accessor :command
end
class Plugin < Vagrant.plugin("2")
name "local_shell"
config(:local_shell, :provisioner) do
Config
end
provisioner(:local_shell) do
Provisioner
end
end
class Provisioner < Vagrant.plugin("2", :provisioner)
def provision
result = system "#{config.command}"
end
end
end
People often forget adding the route or have typos in their command. Therefore the box should add the correct routes automatically (with the option to turn that off).
The text was updated successfully, but these errors were encountered: