Skip to content

Commit

Permalink
Merge remote-tracking branch 'local-from/develop' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
CI (Automated) committed Dec 20, 2019
2 parents 7c1f30c + bfd1676 commit 3fe9422
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions lib/packer/config/aws.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ def builders
packer_ci_private_key_location = ENV.fetch('PACKER_CI_PRIVATE_KEY_LOCATION', '../packer-ci-private-key/key')
#TODO deleteme. Added to resolve a winrm with newer source ami (ami-0060daada4a15ad8a)
source_ami = @region[:base_ami]
if @os == 'windows2019' && @region[:name].include?('gov')
source_ami = "ami-a180cfc0"
elsif @os == 'windows2012R2'
if @os == 'windows2012R2'
source_ami = "ami-067ff23da8261d1c7"
end
[
Expand Down
1 change: 0 additions & 1 deletion spec/packer/config/aws_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@


expect(gov_builders[0]).to include(baseline_builders.merge({
source_ami: "ami-a180cfc0",
region: 'region1-gov',
name: "amazon-ebs-region1-gov"}))
expect(gov_builders[0][:ami_name]).to match(/BOSH-.*-region1/)
Expand Down

0 comments on commit 3fe9422

Please sign in to comment.