Commit Graph

65 Commits

Author SHA1 Message Date
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
Chris Roberts 90a5854684 Fill out ssh options config and remote_user
Include config option within ssh_config command output template. Default
remote_user value to set username value. Include existence check on
provided config value to ensure file is available. Update tests to
include coverage on all changes. Add new options to the docs.
2018-12-11 08:09:43 -08:00
Chris Roberts 904a712838 Provide correct RDP information within configuration information
Dynamically generate RDP information when applicable via provider
if supported. When no RDP port is provided ignore RDP in config
and omit from output.
2018-10-04 14:41:10 -07:00
Chris Roberts 48d358adcb Add winrm and upload commands 2018-10-04 13:26:41 -07:00
Chris Roberts 147b5c653e Check verify_host_key for falsey or :never values when generating ssh config 2018-09-05 13:44:07 -07:00
Brian Cain c9e5a22bff (#9062) Deprecate :paranoid in favor of :verify_host_key
As of `net-ssh` version 4.2.0, the key :paranoid has been deprecated in
favor of using :verify_host_key. This commit updates Vagrants ssh config
to use the new key, and deprecates the use of :paranoid.
2018-01-05 10:02:45 -08:00
Chris Roberts 5f955c3d38 Convert atlas references to vagrant cloud 2017-06-23 10:01:51 -07:00
Chris Roberts ca557249a5 Add note on forwarded_port and include host_ip configuration 2017-04-05 15:13:24 -07:00
guessi 1078c37807 Missing box-version for Vagrantfile.min.erb
Signed-off-by: guessi <guessi@gmail.com>
2017-02-14 11:59:20 +08:00
Zack Train cb70749bd8 redux of pr 7398 for ssh-agent key fix 2016-08-11 11:48:10 -07:00
Seth Vargo 9ca4a8d800
Remove sudo from generated Vagrantfile
This is unneeded because, by default, provisioners run as a privileged
user.

Fixes GH-7295
2016-05-30 20:47:13 -04:00
Seth Vargo bba1cbc72f
Add --box-version to `vagrant init`
This also adds a test suite for that particular command, updates the
documentation, and adds some examples.

Fixes GH-5004
2016-05-30 15:33:58 -04:00
Seth Vargo 63beaaef14 Merge pull request #6963 from mitchellh/sethvargo/str_ver
Always use a string for Vagrantfile version
2016-02-02 09:48:19 -05:00
Seth Vargo b24e69eb60 Always use a string for Vagrantfile version 2016-02-02 09:43:28 -05:00
Seth Vargo 3f6ac05d7c Revert "Escape identify file path" 2016-02-02 09:38:53 -05:00
Seth Vargo 8f420837a4 Escape identify file path 2015-11-23 20:00:12 -05:00
Seth Vargo 9c55180f6d Update the apt cache 2014-12-12 10:44:10 -08:00
Seth Vargo 5dfe323a2e Fix a missing colon in new Vagrantfile 2014-12-12 10:42:00 -08:00
Seth Vargo b590ee2b3a Add push example 2014-12-11 16:50:56 -08:00
Seth Vargo 0dcdc2312b Remove editor comments from min Vagrantfile 2014-12-11 16:48:20 -08:00
Seth Vargo 6cae92a200 Cleanup generated Vagrantfile 2014-12-11 16:47:50 -08:00
Seth Vargo 30dbedeea4 Update Vagrantfile to include Chef Apply and options for Chef install 2014-11-07 15:56:22 -05:00
Mitchell Hashimoto 88754d2904 document the version 2014-10-23 09:25:54 -07:00
Christian Berendt e9a28b02a5 Remove Vagrant constants 2014-10-20 17:59:47 +02:00
Dennis Hoppe 9fc64aa025 Fix value for manifest_file
This value should match the default, mentioned at the Vagrant Documentation. Otherwise, new users could be confused.
2014-06-27 11:22:38 +02:00
Kalman Hazins bb052366f7 Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
Mitchell Hashimoto e3ec1027f1 commands/init: minimal flag [GH-3611] 2014-05-04 17:36:51 -07:00
Mitchell Hashimoto 7ade8f8ad4 Clean up the Vagrantfile template 2014-04-09 08:49:25 -07:00
Diego Zamboni 2e4bc44644 CFEngine example block in Vagrantfile template
Added an example block for the CFEngine provisioner to the Vagrantfile
template.
2014-04-07 18:39:50 -05:00
Lukasz Jastrzebski 654870a185 Fixing ssh_config proxy_command is not included 2014-02-09 16:27:32 -08:00
Mitchell Hashimoto 0f9ec27018 commands/init: update template to use strings, not symbols 2014-01-16 09:46:41 -08:00
Paul Hinze ec97a45125 commands/ssh-config: fix for multiple private keys
since we merged multiple private keys, the :private_key_path item of
ssh_info now comes back as an array. the ssh-config command had not yet
been updated to handle this properly.

here we fix that oversight and add a few unit tests around the config
generation.
2013-12-04 09:33:27 -06:00
Michael Kühn 90a4681292 changed Vagrantfile template to use "site.pp" for puppet instead of "init.pp". 2013-09-06 10:24:27 +02:00
Mitchell Hashimoto fb14a33bc1 Simplify understanding of magic "2" in Vagrantfile [GH-1835] 2013-07-20 01:06:02 -04:00
Mitchell Hashimoto 7c61931142 Only wrap IdentityFile in quotes if it contains spaces [GH-1682] 2013-07-19 23:57:10 -04:00
Elan Ruusamäe dab0faf6b5 add ssh agent sample to Vagrantfile 2013-06-07 19:02:49 +03:00
Mitchell Hashimoto 47dfd81fd1 Change default puppet manifest to be init.pp in template 2013-04-07 15:07:50 -07:00
Mitchell Hashimoto 0bb57fbe86 Update the vagrant init Vagrantfile to have new network syntax 2013-03-01 17:36:46 -08:00
Mitchell Hashimoto 3304a7701c Update the Vagrantfile template 2013-02-04 11:56:06 -08:00
Samet Atdag 4b5909d532 Private key path is put into quotes in case of space-including username. 2013-01-21 15:19:35 +02:00
Mitchell Hashimoto 3e6fe7406b Update the Vagrantfile template to use V2 by default. 2012-11-06 21:34:22 -08:00
Alvaro Videla a46640c720 Fixes minor typo 2012-06-20 11:16:29 +03:00
Mitchell Hashimoto 1ef679f683 SSH log level fatal. Thanks @petejkim
This change makes it so that SSH errors are shown, whereas QUIET hid
those as well. The main change to QUIET was to get rid of warnings,
not errors, so this fixes that.
2012-05-31 23:42:28 +02:00
Mitchell Hashimoto 3204b3a580 Vagrant.configure and versioned configuration
Vagrant.configure is now how configuration is done in Vagrantfiles
(previously it was Vagrant::Config.run). This function takes a single
argument which is the version of configuration to use.

Various internals were updated for this new versioned configuration.

Note that multiple versions of configuration aren't yet used so aren't
fully supported by Vagrant, but the foundation is being set here.
2012-05-21 21:47:01 -07:00
Mitchell Hashimoto e98cedf0e1 LogLevel QUIET for SSH to suppress known hosts warning [GH-847] 2012-04-02 09:57:16 -07:00
Lorin Hochstein ab926ed5f4 Adds chef.roles_path and chef.data_bags_path to template 2012-03-21 10:44:41 -04:00
Bob Van Zant ae62c9bd68 Convert example host only IPs to RFC1918 2012-02-08 14:50:33 -08:00
Richard Millan ec9a6182a8 Update to Vagrantfile template. A name is not required for the forwarding port. 2012-01-08 20:10:37 -08:00
Mitchell Hashimoto 27372ef313 Namespace ssh-config template 2012-01-07 21:56:14 -08:00
Mitchell Hashimoto ad6974d3da Fix typo in Vagrantfile 2012-01-03 09:35:14 -08:00