packer-cn/builder/vagrant
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
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.
2019-10-31 16:12:07 +01:00
..
artifact.go Add vagrant-cloud post-processor support for the vagrant builder 2019-03-12 05:33:46 +02:00
artifact_test.go Add vagrant-cloud post-processor support for the vagrant builder 2019-03-12 05:33:46 +02:00
builder.go Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
builder.hcl2spec.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
builder_test.go tests, logic cleanup, docs for vagrant builder 2019-02-04 14:08:43 -08:00
driver.go use VAGRANT_CWD rather than changing packer run directories 2019-02-07 14:35:01 -08:00
driver_2_2.go Make Vagrant driver code pass through logs as it receives them rather than buffering and returning them all at the end of the call. 2019-10-24 13:12:35 -07:00
ssh.go vagrant builder 2019-02-04 14:08:43 -08:00
step_add_box.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_add_box_test.go tests, logic cleanup, docs for vagrant builder 2019-02-04 14:08:43 -08:00
step_create_vagrantfile.go add insert_key option for toggling whether to add Vagrant's insecure key 2019-10-30 13:27:34 -07:00
step_create_vagrantfile_test.go fix tests 2019-10-30 13:48:12 -07:00
step_package.go fix ssh and package steps to use source syntax. 2019-09-18 13:15:49 -07:00
step_ssh_config.go fix ssh and package steps to use source syntax. 2019-09-18 13:15:49 -07:00
step_up.go Make Vagrant driver code pass through logs as it receives them rather than buffering and returning them all at the end of the call. 2019-10-24 13:12:35 -07:00
step_up_test.go use GlobalID where provided, add test for `vagrant up` args generation 2019-09-10 10:46:16 -07:00