Remove logger from windows hostname cap

This commit is contained in:
Brian Cain 2018-11-05 14:12:16 -08:00
parent 0188d409d4
commit 796ff7b190
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 0 additions and 1 deletions

View File

@ -12,7 +12,6 @@ module VagrantPlugins
# If the configured name matches the current name, then bail
# We cannot use %ComputerName% because it truncates at 15 chars
return if machine.communicate.test("if ([System.Net.Dns]::GetHostName() -eq '#{name}') { exit 0 } exit 1")
@logger = Log4r::Logger.new("vagrant::windows::change_host_name")
# Rename and reboot host if rename succeeded
script = <<-EOH