lib/vagrant-vcloud/action/announce_ssh_exec.rb
module VagrantPlugins
module VCloud
module Action
class AnnounceSSHExec < Vagrant::Action::Builtin::SSHExec
def initialize(app, env)
@app = app
end
def call(env)
ssh_info = env[:machine].ssh_info
env[:ui].success(
"External IP for #{env[:machine].name}: #{ssh_info[:host]}"
)
super
end
end
end
end
end