Skip to content

Commit

Permalink
remove old OS provisioners
Browse files Browse the repository at this point in the history
we no longer support OSs below 2019
  • Loading branch information
XenoPhex committed Jul 15, 2020
1 parent 3d55bb0 commit cf95d33
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions lib/packer/config/provisioners.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,6 @@ def initialize(os, iaas, enable_ephemeral_disk, version, http_proxy = nil, https
end
end

class OSwindows2012R2 < Provisioner
def dump
result = @erb.result_with_hash({iaas: @iaas, password: SecureRandom.hex(10) + "!", proxy_settings: @proxy_settings, stemcell_version: @version})
JSON.parse(result)
end
end

class OSwindows2012R2_vsphere_updates < Provisioner
def dump
result = @erb.result_with_hash({iaas: @iaas, password: SecureRandom.hex(10) + "!", proxy_settings: @proxy_settings})
JSON.parse(result)
end
end

class OSwindows2016 < Provisioner
def dump
result = @erb.result_with_hash({iaas: @iaas, password: SecureRandom.hex(10) + "!", ephemeral_disk_flag: @ephemeral_disk_flag, proxy_settings: @proxy_settings, install_windows_updates: @installWindowsUpdates, stemcell_version: @version})
JSON.parse(result)
end
end

class OSwindows1803 < Provisioner
def dump
result = @erb.result_with_hash({iaas: @iaas, password: SecureRandom.hex(10) + "!", ephemeral_disk_flag: @ephemeral_disk_flag, proxy_settings: @proxy_settings, install_windows_updates: @installWindowsUpdates, stemcell_version: @version})
JSON.parse(result)
end
end

class OSwindows2019 < Provisioner
def dump
result = @erb.result_with_hash({
Expand Down

0 comments on commit cf95d33

Please sign in to comment.