Sha256: 2f432b6c4605139abd7883d2a03b6e0de47f1a96fa19b83821ed095f19fea921
Contents?: true
Size: 443 Bytes
Versions: 40
Compression:
Stored size: 443 Bytes
Contents
module Vagrant module Action module VM class HostName def initialize(app, env) @app = app end def call(env) @app.call(env) host_name = env[:vm].config.vm.host_name if !host_name.nil? env[:ui].info I18n.t("vagrant.actions.vm.host_name.setting") env[:vm].guest.change_host_name(host_name) end end end end end end
Version data entries
40 entries across 40 versions & 6 rubygems