1509 Commits

Author SHA1 Message Date
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
Jeff Bonhag
1e6c98f539
Document potential issue with PowerShell progress bar
Since PowerShell subprocesses don't inherit the setting for
`$ProgressPreference`, it's probably a good idea to set this variable to
`SilentlyContinue` globally when using the WinSSH communicator.

This commit also fixes a formatting issues with the list of supported
Windows guests.
2020-03-10 16:13:49 -04:00
Chris Roberts
4272e4e363
Merge pull request #11429 from EnMod/nq.website.update-middleman-hashicorp
[Website] Update middleman-hashicorp to 0.3.44
2020-03-09 16:55:02 -07:00
Meitar M
9f0d4ef074
Actually remove all references to symbol syntax. 2020-03-06 18:35:55 -05:00
Meitar M
945e623f6d
Remove referencese to symbol syntax. 2020-03-06 17:46:04 -05:00
Meitar M
9951656cb6
Fix typo and use keyword argument syntax for consistency. 2020-03-06 17:44:51 -05:00
Meitar M
0361f9aa72
Document ability to specify which host-only network.
Although it has been possible to specify a specific VirtualBox host-only network
to attach a machine's NIC to, this was never mentioned by the documentation in
the VirtualBox provider's networking section. I had to spelunk through the issue
tracker to find an example of this.

This patch adds a code example along with a short description of the ability in
human language prose, and a link to the relevant section in the VirtualBox User
Manual about "Host-Only Networking."
2020-03-05 21:22:09 -05:00
Chris Roberts
f9adc28e3d Update documentation to reflect changes in winssh communicator 2020-03-04 16:35:19 -08:00
Jeff Bonhag
3b5443a5e7 We are back to creating config.winssh_upload_directory 2020-03-04 15:08:03 -08:00
Jeff Bonhag
df7c11a3a7 Fix issues with Windows SSH provisioner
Windows commands that run over SSH are wrapped in a script that writes a
special marker to the two output streams (stdout and stderr).  This
allows Vagrant to consume the output streams.

Unfortunately, this leads to a sort of chicken-and-egg problem where no
commands can be run before a wrapper script exists. For example, you
can't make a destination directory to upload the wrapper script without
first creating a wrapper script to make the directory. :)

This commit changes the behavior of the WinSSH communicator to assume
that the destination directory already exists for provisioning scripts.

It also moves the default `upload_path` from the shell provisioner
config so we can have OS-specific defaults.

Finally, it introduces a Windows-specific #upload method which will
properly use a Windows path separator on a non-Windows host.
2020-03-04 15:08:03 -08:00
Noel Quiles
3b1c702744
Update middleman-hashicorp to 0.3.44 2020-03-03 20:10:38 -05:00
Chris Roberts
89aad950ca
Merge pull request #11422 from Murathe/patch-1
Update index.html.md
2020-03-03 16:25:42 -08:00
Mike
2d7b959136
Missed comma in configuration file
Vagrant throws this error
syntax error, unexpected tIDENTIFIER, expecting keyword_endate_network, type: "dhcp" name: "hap-network"
2020-03-03 21:24:06 +02:00
Murathe
f454a9903b
Update index.html.md
Added  'it' to the excuse formation
2020-03-02 17:09:18 +03:00
Brian Cain
3d2eafc414
Merge pull request #11349 from briancain/feature/virtualbox-disk-mgmt
[FEATURE] Disk management with the VirtualBox provider
2020-02-14 08:33:51 -08:00
Brian Cain
dafb60ad4f
Update experimental feature flag for disk 2020-02-12 15:38:34 -08:00
Brian Cain
d5caf672da
Merge pull request #11385 from meitar/patch-1
Detail other valid values for `config.ssh.verify_host_key`.
2020-02-11 09:22:07 -08:00
Chris Roberts
6cda268fca
Merge pull request #11384 from treehouseops/nf.bump-middleman-hashicorp-version
Website: bump middleman version
2020-02-11 08:11:59 -08:00
Meitar M
1548bcf80e
Detail other valid values for config.ssh.verify_host_key.
This commit adds more detail to the documentation for `config.ssh.verify_host_key`. Currently, the documentation only mentions the default value but does not provide any hints as to what valid values exist, or where this value is being passed to. As I'm sure you know, this is ultimately passed to the `net-ssh` library. It would have saved me some time doing searches to have read this fact in the Vagrant docs directly.

Thanks for considering this expansion.
2020-02-10 22:22:29 -05:00
nicolelyn
79961f1769 website: bump middleman version 2020-02-10 19:53:34 -05:00
Brian Cain
567351a2af
Disk doc updates 2020-02-10 12:58:11 -08:00
Brian Cain
4394962f56
Include default disk_ext option in docs 2020-02-10 12:58:11 -08:00
Brian Cain
0aa8a517c4
Add note about resizing VMDK disks 2020-02-10 12:58:11 -08:00
Brian Cain
bb8f04f18a
Add docs note about disk_meta file 2020-02-10 12:58:11 -08:00
Brian Cain
fe6be8c886
Disk doc updates 2020-02-10 12:58:11 -08:00
Brian Cain
a15016931a
Add more docs for disk feature 2020-02-10 12:58:11 -08:00
Brian Cain
90461014db
Website updates for disk management feature 2020-02-10 12:58:11 -08:00
Brian Cain
edd9ec89cb
Begin to add docs for the virtualbox disk feature 2020-02-10 12:58:11 -08:00
Brian Cain
54f17929b5
Add note about vbox gui for troubleshooting 2020-02-10 12:58:11 -08:00
Brian Cain
a9e678327b
Update docs for disk name 2020-02-10 12:58:11 -08:00
Brian Cain
b41147237e
Begin to add docs for disk configuration with virtualbox 2020-02-10 12:58:11 -08:00
Brian Cain
8cd04db602
Update configuration with disk_ext option 2020-02-10 12:58:11 -08:00
Brian Cain
2150c3f4b3
Include important Ansible docs in side navbar
This commit adds some extra nav links for important Ansible
documentation that was burried in the other doc pages.
2020-01-29 11:44:26 -08:00
comet
fa43afb57b
update 2020-01-27 17:04:23 -06:00
Chris Roberts
ac268e2638 Release v2.2.7 2020-01-27 12:29:18 -08:00
林博仁(Buo-ren Lin)
8ac6403bcc
Fix missing quoting for VagrantFile
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
2020-01-21 16:56:14 +08:00
Brian Cain
0077d7955d
Fix typo in CLI upload docs 2020-01-13 11:23:06 -08:00
Tenzin Chemi
e864605879
Update public_network.html.md 2020-01-11 23:21:30 +05:30
Renee Margaret McConahy
1c6ac924c5
Ansible docs: Fix misplaced brace in example. 2020-01-08 16:42:42 -05:00
Jeff Bonhag
7fb7dd8608
Enable WinSSH shell for vagrant ssh -c (#11258)
This commit changes the behavior of the builtin SSHRun action to use a Windows
shell if the WinSSH communicator is active.  This allows for running one-off SSH
commands with Windows Command Prompt or PowerShell.  By default, this will not
allocate a TTY for any SSH commands.

Example usage:

```
vagrant ssh -c 'dir "c:\program files"'
```

Updates docs to reflect a change made in
a55a53e6a46438d5093487f83248f01ddece4534.
2019-12-20 13:10:11 -05:00
Jeff Bonhag
f0b8c0737f
Fixes #11269: enable_checkpoints default is true (#11272)
Update docs to reflect change made in
8aa74a03a09bfab203d1866fc5f3e4476bb1657f.
2019-12-20 12:59:51 -05:00
Jeff Bonhag
d7a5f74897
Fixes #11128: Error if machine folder inaccessible (#11239)
This commit catches the Errno::EPERM raised by the operating system if
the machine folder is inaccessible and displays it as a more friendly
error message.

This can be an issue on macOS Catalina if virtual machine files are kept
in a special directory (Documents/Downloads/Desktop) that Vagrant's
embedded Ruby is not allowed to access.
2019-12-17 12:41:12 -05:00
Jeff Bonhag
df9df5c250
Wrap all environment variables headers with <code> (#11261)
This commit adds the <code> backticks to a few headers that didn't have
them.
2019-12-17 11:43:30 -05:00
Brian Cain
0b71991902
Merge pull request #11231 from briancain/add-force-option-for-box-outdated
Fixes #11228: Allow to force check for box updates
2019-12-17 08:42:51 -08:00
Brian Cain
20ccf46fb1
Merge pull request #11250 from briancain/update-virtualbox-with-6.1
Fixes #11249: Add VirtualBox provider support for version 6.1.x
2019-12-16 08:51:28 -08:00
JJ Asghar
9adf855f31 Alphabiztize the Website and template
Having these provisioners not alphabitized on the website and
Vagrantfile, seemed odd. This reorders them to be consistent.

Signed-off-by: JJ Asghar <jjasghar@gmail.com>
Signed-off-by: JJ Asghar <awesome@ibm.com>
2019-12-11 17:55:51 -06:00
Brian Cain
fb4e6985e1
Fixes #11249: Add VirtualBox provider support for version 6.1.x
This commit adds support for VirtualBox version 6.1.x. It simply
inherits from the base 6.0.x provider class.
2019-12-11 13:25:11 -08:00
Brian Cain
bcf4d5a210
Fixes #11228: Allow to force check for box updates
Prior to this commit, if a user had recently checked for updates, there
was no way to force Vagrant to re-check without manually deleting a
state file in the local `.vagrant` data dir. This commit fixes that by
giving users the ability to force check for updates for a given box with
a flag to the `vagrant box outdated` command.
2019-12-03 11:42:55 -08:00
Brian Cain
3e177d380f
Update disk docs in website for experimental feature banner 2019-11-22 14:40:23 -08:00
Brian Cain
8031ebe9d1
Add some todos for the disk website docs 2019-11-22 14:40:23 -08:00