Sha256: b91f6234950ecb9d48de95d467f6e9e4bb8530c1939f9f9e6119d73ae4b8e7a0
Contents?: true
Size: 576 Bytes
Versions: 4
Compression:
Stored size: 576 Bytes
Contents
module VagrantPlugins module VCloudAir module Action # Override the builtin SSHExec action to show the IP used to connect 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( I18n.t('vagrant_vcloudair.vm.ssh_announce', machine_name: env[:machine].name, ip: ssh_info[:host]) ) super end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems