Brian Cain
cff0ef9830
Update to use example domain
...
This commit updates the example output to use example.com, rather than a
potnetially real domain.
2020-05-20 14:56:02 -07:00
Brian Cain
3934a26c29
Fixes #11606 : Mock out guest capabilities instead of running them
...
This commit fixes a test that only fails on certain users machines where
Vagrant ends up trying to run real guest capabilities to test if the
docker provisioner raises an error if the provisioner install failed. It
fixes it by mocking out the expected return values for those
capabilities rather than relying on them actually running for this
specific unit test.
2020-05-11 08:01:29 -07:00
Sophia Castellarin
238f5469b5
Merge pull request #11584 from soapy1/podman-install
...
Seperate podman centos and rhel install
2020-05-07 11:57:51 -04:00
sophia
7ffe2d92e9
Add test for installing
2020-05-07 11:39:08 -04:00
sophia
5124ec1cf9
Test docker installer and ensure that all caps are valid
2020-05-06 15:02:15 -04:00
sophia
13bb29af2b
Don't warn on ansible compatability mode
2020-04-28 10:48:25 -04:00
Jeff Bonhag
2c4a40fccb
Fix issues with shell provisioner when WinSSH shell is set to cmd ( #11547 )
...
This commit fixes a couple of issues with the shell provisioner when the
WinSSH shell is set to cmd:
- A check for the .bat extension returned by File.extname
- Execute inline scripts with PowerShell when upload_path ends with .ps1
* Ensure script has correct extension
Co-Authored-By: Sophia Castellarin <sophia@hashicorp.com>
2020-04-24 15:56:27 -04:00
Chris Roberts
720c3012ce
Use #systemd_networkd? guest check for renderer
2020-04-22 15:07:14 -07:00
Chris Roberts
4546d804b1
Add support for configuring SSH connect timeout
...
Retains the original default value of 15 seconds for SSH connect
timeout. Allows users to modify this timeout via SSH communicator
option. Enforces integer values for timeout and validates custom
values are greater than 0.
2020-04-20 14:23:21 -07:00
Jeff Bonhag
f593bb54d2
Fix #8704 : Raise an error if the guest IP ends with .1 ( #11500 )
...
If the VirtualBox guest property /VirtualBox/GuestInfo/Net/1/V4/IP
returns an IP address ending in .1, raise an error.
This addresses an issue that was revealed as an NFS error, where Vagrant
was creating an exports file with the wrong IP address. This was thought
to be caused by the presence of a docker0 interface, but it manifested
itself even without Docker installed.
This issue is difficult to reproduce, but hopefully this PR will get us
closer to the root cause.
2020-04-20 13:28:37 -04:00
Sophia Castellarin
c89b68b06d
Merge pull request #11517 from soapy1/win-shell-provisioner-fail
...
Ensure windows files get an extension
2020-04-20 12:38:06 -04:00
Sophia Castellarin
bc4368f739
Merge pull request #11503 from soapy1/smb-symlinks
...
Smb symlinks
2020-04-20 12:35:38 -04:00
sophia
4d516e2cae
Test provision_winssh
2020-04-17 13:11:57 -04:00
Chris Roberts
c0f8a54924
Merge pull request #11436 from hvnsweeting/patch-1
...
Allow to specify python_version
2020-04-17 08:55:20 -07:00
sophia
2ddd12047c
Ensure windows files get an extension
2020-04-17 10:31:24 -04:00
sophia
30ade2991b
Emit warning message if using mfsymlink
2020-04-17 09:56:52 -04:00
Sophia Castellarin
1a45f302e3
Merge pull request #11499 from soapy1/hyperv-integrationservice-non-ascii-names
...
Use service id for enabling/disabling vm integration services
2020-04-17 09:53:35 -04:00
Sophia Castellarin
5dc96f0886
Merge pull request #11498 from soapy1/ubuntu-w-networkmanager
...
Choose netplan renderer based on network config and available tools
2020-04-17 09:50:31 -04:00
Sophia Castellarin
1fb3f30145
Merge pull request #11472 from soapy1/podman-provisioner
...
Add podman provisioner
2020-04-17 09:48:12 -04:00
Chris Roberts
84b309db32
Include test coverage on python value behavior
2020-04-16 17:25:55 -07:00
Viet Hung Nguyen
34993753fe
Fix test
2020-04-16 17:16:07 -07:00
Sophia Castellarin
ee87596a77
Merge pull request #11462 from soapy1/docker-provision-centos8
...
Docker provision centos8
2020-04-13 09:42:37 -04:00
sophia
d5cd4da0e0
Use service id for enabling/disabling vm integration services
...
ref:
https://github.com/PlagueHO/LabBuilder/issues/183
ref service name to id:
https://social.technet.microsoft.com/Forums/de-DE/154917de-f3ca-4b1e-b3f8-23dd4b4f0f06/getvmintegrationservice-sprachabhngig?forum=powershell_de
2020-04-13 09:39:53 -04:00
sophia
538ee948ee
Choose netplan renderer based on network config and available tools
2020-04-10 17:17:04 -04:00
Chris Roberts
c5e2f36ddc
Merge pull request #11455 from chrisroberts/enhancement/triggers-insertions
...
Adjust how trigger actions are inserted into the stack
2020-04-08 16:53:17 -07:00
sophia
307291b7f8
Add mfsymlinks as a default option for mounting smb folders
2020-04-08 14:52:37 -04:00
Brian Cain
dda2c8f913
Merge pull request #11411 from thunder-spb/alpine-ansbile-support
...
Alpine capability for Ansbile support
2020-04-08 09:43:53 -07:00
sophia
5104d075bd
Add CentOS guest plugin
2020-04-06 13:48:39 -04:00
Sophia Castellarin
cf9a690bc9
Merge pull request #11482 from soapy1/systemd-cap-halt
...
Use systemd to halt system if available
2020-04-06 10:18:53 -04:00
sophia
bcce2f720d
Add option to install from kubic
2020-04-06 10:13:57 -04:00
Alexzander thunder Shevchenko
4caa5e1434
Setting python version back to 3.x since there some issues with Ansible version detection for pip installation.
2020-04-05 15:03:01 +03:00
Alexzander thunder Shevchenko
d1d214f6e2
Set python version to 2.7 as all other ansible provisioners do
2020-04-05 14:46:33 +03:00
Alexzander thunder Shevchenko
76e098039b
Update tests to support pip installation via get_pip script
2020-04-05 14:28:44 +03:00
sophia
d500daea03
Support centos flavors of redhat
2020-04-03 14:27:44 -04:00
sophia
338f13a2ae
Use systemd to halt system if available
2020-04-01 15:43:10 -04:00
sophia
777f680837
Use systemd to rebot system if available
2020-04-01 13:57:07 -04:00
sophia
5c7fbb50e8
Test container provisioner plugin
2020-03-30 17:41:53 -04:00
Sophia Castellarin
0ca53d9e6e
Merge pull request #11356 from jackorp/vagrant-podman-container-build
...
Docker provider: catch container name when using podman.
2020-03-30 16:19:31 -04:00
Sophia Castellarin
54972c045b
Merge pull request #10592 from ichesnokov/master
...
Make sure that ips array contains unique values
2020-03-30 10:31:48 -04:00
sophia
c4b80c30ea
Test ips are de-duplicated when writing /etc/exports
2020-03-27 18:46:41 +03:00
Jaroslav Prokop
5208032594
Docker provider: catch container name when using podman.
...
When user is using podman's docker CLI emulation the containers would
fail to enter running state because the docker driver could not catch
the container name. This commit fixes that by adding a check if podman
docker emulation is used and pick the container hash correctly from the
output.
2020-03-25 19:34:31 +01:00
sophia
987ab17f4d
Add suport for SMB on redhat
2020-03-25 12:27:04 -04:00
sophia
9d53e8ccab
Recognize rhel8 flavor
2020-03-25 10:36:02 -04:00
Sophia Castellarin
2dadeb3ee5
Merge pull request #11461 from soapy1/get-docker-image-id
...
Get correct docker image from build output
2020-03-24 09:27:20 -05:00
Sophia Castellarin
e07d3c80e2
Merge pull request #11355 from terryburton/master
...
docker provider: Don't explode when removing an image if it is in use
2020-03-24 09:22:36 -05:00
Terry Burton
b566b0ee13
rmi docker provider tests: May also be in use by a stopped container
2020-03-23 23:28:18 +00:00
sophia
114742f3f8
Test rmi functionality for docker provider
2020-03-23 15:39:30 -05:00
sophia
ea7cc687f2
Add test for multiple Successsfully built messages
2020-03-23 09:55:30 -05:00
Chris Roberts
d08c68ecf3
Adjust how trigger actions are inserted into the stack
...
This adjusts how triggers are implemented during a normal run. Any
defined triggers which are applicable are located and injected into
the run stack as the stack is built, including hook type triggers.
Support is included for dynamic hook lookup.
The data type used when defining triggers has also been relaxed to
support symbols, strings, or constants.
2020-03-17 15:07:36 -07:00
Jeff Bonhag
6efdcd2068
Merge pull request #11430 from chrisroberts/winssh-hacks
...
Fix issues with Windows SSH provisioner (continued...)
2020-03-11 10:39:44 -04:00