From 63ba0f9964076efb892f209caa53197e84cc2f77 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 26 Feb 2019 11:47:17 -0800 Subject: [PATCH] Add DestroyNetwork action to docker provider --- plugins/providers/docker/action.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/providers/docker/action.rb b/plugins/providers/docker/action.rb index 0b1692b72..9dbe64499 100644 --- a/plugins/providers/docker/action.rb +++ b/plugins/providers/docker/action.rb @@ -162,6 +162,7 @@ module VagrantPlugins b4.use action_halt b4.use HostMachineSyncFoldersDisable b4.use Destroy + b4.use DestroyNetwork b4.use DestroyBuildImage else b4.use Message, @@ -296,6 +297,7 @@ module VagrantPlugins autoload :Create, action_root.join("create") autoload :Destroy, action_root.join("destroy") autoload :DestroyBuildImage, action_root.join("destroy_build_image") + autoload :DestroyNetwork, action_root.join("destroy_network") autoload :ForwardedPorts, action_root.join("forwarded_ports") autoload :HasSSH, action_root.join("has_ssh") autoload :HostMachine, action_root.join("host_machine")