Remove VirtualBox Hostname middleware

This commit is contained in:
Mitchell Hashimoto 2013-02-27 21:30:01 -08:00
parent 3c47f4f3bc
commit 18492d5d70
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
module VagrantPlugins
module ProviderVirtualBox
module Action
class HostName
def initialize(app, env)
@app = app
end
def call(env)
@app.call(env)
host_name = env[:machine].config.vm.hostname
if !host_name.nil?
env[:ui].info I18n.t("vagrant.actions.vm.host_name.setting")
env[:machine].guest.change_host_name(host_name)
end
end
end
end
end
end