This project is mirrored from https://gitee.com/NQL886/packer.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 31 Oct, 2019 4 commits
    • Adrien Delorme's avatar
      Linode: remove unused StateTimeout field · 1efd86e8
      Adrien Delorme authored
      1efd86e8
    • Adrien Delorme's avatar
      Change back to make sure all durations are a time.Duration · 81932922
      Adrien Delorme authored
      It is simply the best/simplest solution and trying to prevent users from passing and integer here would be like opening a can of worms. Because:
      
      * we cannot make mapstructure validate our duration string ( with an UnmarshalJSON func etc.)
      * we cannot make mapstructure spit a string instead of a duration and packer will decode-encode-decode config.
      * the hcl2 generated code asks for a string, so this will be enforced by default.
      81932922
    • Adrien Delorme's avatar
      Force durations to be passed a strings · bf3d9841
      Adrien Delorme authored
      Before this commit it was possible to set a duration using an integer or a float. Go's time.Duration is an int64 internally an mapstructure will take advantage of this and load the number as a int64 but `1` means one ns which is unexpected/confusing. To avoid confusion and enforce readability this forces users to pass a string with a unit for a duration; ex "56s".
      bf3d9841
    • Adrien Delorme's avatar
      Merge pull request #8294 from hashicorp/do_7974 · ada98218
      Adrien Delorme authored
      add insert_key option for toggling whether to add Vagrant's insecure key
      Unverified
      ada98218
  2. 30 Oct, 2019 14 commits
  3. 29 Oct, 2019 22 commits