From e0a4212716a65e1a36404a9eea139803957ed25b Mon Sep 17 00:00:00 2001 From: dima Date: Sun, 5 May 2013 14:18:21 +0200 Subject: [PATCH] add handleBoxUrl for download box close #15 --- .gitignore | 1 + lib/vagrant-libvirt/action.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index da7b2bb..b89ef9a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ tmp Vagrantfile !example_box/Vagrantfile .vagrant +*.swp diff --git a/lib/vagrant-libvirt/action.rb b/lib/vagrant-libvirt/action.rb index 22312c6..5b086a2 100644 --- a/lib/vagrant-libvirt/action.rb +++ b/lib/vagrant-libvirt/action.rb @@ -16,6 +16,7 @@ module VagrantPlugins if !env[:result] b2.use SetNameOfDomain b2.use HandleStoragePool + b2.use HandleBoxUrl b2.use HandleBoxImage b2.use CreateDomainVolume b2.use CreateDomain @@ -231,6 +232,7 @@ module VagrantPlugins autoload :MessageNotRunning, action_root.join("message_not_running") autoload :MessageNotSuspended, action_root.join("message_not_suspended") autoload :HandleStoragePool, action_root.join("handle_storage_pool") + autoload :HandleBoxUrl, "vagrant/action/builtin/handle_box_url" autoload :HandleBoxImage, action_root.join("handle_box_image") autoload :SetNameOfDomain, action_root.join("set_name_of_domain") autoload :CreateDomainVolume, action_root.join("create_domain_volume")