Class: VagrantPlugins::Skytap::Connection::VpnChoice::AttachConnectAndUseExecution
Instance Attribute Summary
#attachment, #vpn
Attributes inherited from Execution
#env, #iface
Instance Method Summary
collapse
#initialize, make, #message
Methods inherited from Execution
#initialize, #make, #message
Instance Method Details
124
125
126
127
|
# File 'lib/vagrant-skytap/connection/vpn_choice.rb', line 124
def execute
@attachment = API::VpnAttachment.create(iface.network, vpn, env)
@attachment.connect!
end
|
120
121
122
|
# File 'lib/vagrant-skytap/connection/vpn_choice.rb', line 120
def verb
I18n.t("vagrant_skytap.connections.vpn_attachment.verb_attach")
end
|