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