Sha256: a985b954c70cd9178be5650b9918e3ed769645dcb8129abc969ac8f8c3e8816c
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
module VagrantPlugins module VCenter module Action # Extends the Builtin SSHExec and announces the external IP. 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
Version data entries
8 entries across 8 versions & 1 rubygems