packer-cn/builder/vagrant
Andreas Botzner 3739970b84
Adds ability to specify interfaces for http_directroy and VM for the Proxmox builder (#9874)
Adds two config options to the Proxmox builder:
```
http_interface
vm_interface
```
Both give the user the ability to specify an interface whos IP will be set as the `.HTTPIP` and VMIP respectively.

This is useful when the VM and or the machine executing Packer has multiple interfaces.
Until now Packer would accept the first non-loopback IP as the `.HTTPIP` and VMIP.

I'm open to suggestions and any kind of feedback. 


* Added ability to define the NIC where the HTTPIP is taken from.
* Added VM interface config option
* fmt and documentation
* Moved HTTPInterface into HTTPCommon
* Build Fix
* Documentation Fix
2020-09-14 12:24:01 +02:00
..
artifact.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
artifact_test.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
builder.go fix local file stating (#9660) 2020-07-29 10:26:09 +02:00
builder.hcl2spec.go Adds ability to specify interfaces for http_directroy and VM for the Proxmox builder (#9874) 2020-09-14 12:24:01 +02:00
builder_test.go fix local file stating (#9660) 2020-07-29 10:26:09 +02:00
driver.go use VAGRANT_CWD rather than changing packer run directories 2019-02-07 14:35:01 -08:00
driver_2_2.go improve validation and error handling around synced_folder 2020-07-14 11:34:40 -07:00
driver_mock.go only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
ssh.go vagrant builder 2019-02-04 14:08:43 -08:00
step_add_box.go replace buffer copy loop with a scanner that handles carriage returns 2020-01-15 12:05:29 -08: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 only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
step_ssh_config_test.go only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
step_up.go implement ID and Type values in the provisioner template info sharing 2019-12-13 11:57:01 -08:00
step_up_test.go use GlobalID where provided, add test for `vagrant up` args generation 2019-09-10 10:46:16 -07:00