microsoft / packer-hyperv

Hyperv plugin for Packer.io
Other
81 stars 33 forks source link

Exception when compression_level value is more than 9 #4

Closed umavinoth closed 10 years ago

umavinoth commented 10 years ago
  1. Mention "compression_level" value as 10 in json file. "compression_level" :10
  2. execute packer validate packer_hyperv.json. This is successful.

Expected:

  1. Should display a error message "compression_level value should be between 0 and 9" while validating the json template.

Actual:

  1. Template validation is successful.
  2. packer build packer_hyperv.json is executed successfully till post-processors and finally throws exception. image
vladimir-shcherbakov commented 10 years ago

if it's a bug it came from the core Packer.

babumuralidharan commented 10 years ago

We should log this in core packer repo. Closing this for now.