lib/vagrant-vcloud/plugin.rb in vagrant-vcloud-0.3.1 vs lib/vagrant-vcloud/plugin.rb in vagrant-vcloud-0.3.2
- old
+ new
@@ -28,12 +28,23 @@
# Return the provider
require_relative 'provider'
Provider
end
+ # Add vagrant share support
+ provider_capability('vcloud', 'public_address') do
+ require_relative 'cap/public_address'
+ Cap::PublicAddress
+ end
+
+ provider_capability(:vcloud, :forwarded_ports) do
+ require_relative "cap/forwarded_ports"
+ Cap::ForwardedPorts
+ end
+
# Added a vagrant vcloud-status command to enhance troubleshooting and
# visibility.
- command('vcloud-status') do
+ command('vcloud') do
require_relative 'command'
Command
end
def self.setup_i18n