33 Commits

Author SHA1 Message Date
Mitchell Hashimoto
13a46ac1bd ActionException on Vagrant::Action 2010-07-08 21:30:36 -07:00
Mitchell Hashimoto
c643aa1513 Fix issue with VirtualBox.version being nil in forked process 2010-06-24 10:35:32 -07:00
Mitchell Hashimoto
9e931dd350 VirtualBox minimum version bumped to 3.2 2010-06-17 23:08:38 -07:00
Mitchell Hashimoto
e6760d8f5b s/nat engine/nat driver/ 2010-06-17 22:38:25 -07:00
Mitchell Hashimoto
d257703496 SSH gets port from proper place in 3.2.x 2010-06-17 22:31:01 -07:00
Mitchell Hashimoto
b56994d11d Internal SSH ignores ssh config file. Also added PasswordAuthentication no to ssh-config output 2010-06-05 18:52:52 -07:00
Mitchell Hashimoto
abef4d29ce Retry SCP upload 5 times as well 2010-06-03 20:58:04 -07:00
Mitchell Hashimoto
8dc57c6796 Retry SSH commands 5 times if an IOError occurs 2010-06-03 20:55:46 -07:00
Mitchell Hashimoto
d7af9882f4 Allow SSH commands to ignore exit status 2010-05-29 23:33:37 -07:00
Mitchell Hashimoto
4c8713ecd4 SSH exec! can now be given options which are used for bad exit status error messages 2010-05-29 11:18:27 -07:00
Mitchell Hashimoto
2af2a81eb8 Chef runs (solo and client) check exit status and error if anything occurs. 2010-05-28 23:18:32 -07:00
Mitchell Hashimoto
8ea9816552 Error and exit if SSH command returns non-zero exit status [closes GH-80] 2010-05-28 23:01:25 -07:00
Mitchell Hashimoto
f30cdf3eea New wrapper SSH session class to emit exit status as well. Will be used in the future to raise exceptions for bad exit status. For now, works as a drop-in replacement. 2010-05-28 14:19:35 -07:00
Mitchell Hashimoto
0e4ae3530a vagrant ssh now queries for the ssh forwarded port, rather than relying on config 2010-05-27 18:18:25 -07:00
Robert O'Brien
77bcd9919d Enable port forwarding to be directed at a specific adapter (NIC), prevented entirely making standard use of TCP/IP and ensuring that port forwarding is only attempted when the NIC is using the VirtualBox NAT. 2010-05-25 19:15:05 -07:00
Mitchell Hashimoto
a5648abe92 Do not worry about key permissions on windows [closes GH-79] 2010-05-24 01:10:27 -07:00
Mitchell Hashimoto
6e757e7ab7 Remove logger from the VM and put it on the environment 2010-05-20 20:35:15 -07:00
Mitchell Hashimoto
e6f628b98b Check key permissions on SSH execute (must be 0600) 2010-05-20 01:01:17 -07:00
Mitchell Hashimoto
d845e73138 Fork-and-wait SSH on Mac OS X 10.5 [closes GH-51] 2010-04-15 02:36:46 -07:00
John Bender
4e4d1a6978 error for vagrant ssh on windows, error text, mario gem, still need doc pages for links in error.yml 2010-03-25 00:09:31 -07:00
Mitchell Hashimoto
a2a59b532b vagrant ssh will automatically fix permissions on the private key if necessary 2010-03-19 01:57:28 -07:00
Mitchell Hashimoto
260b099dba SSH class converted to instance methods. now loads on the environment 2010-03-19 01:51:27 -07:00
Mitchell Hashimoto
3c2e1bd80a All errors now go through the errors.yml files 2010-03-17 21:08:26 -07:00
Mitchell Hashimoto
de54433496 On SSH authentication failure, give a helpful error message outlining what may have gone wrong. 2010-03-15 00:50:23 -07:00
John Bender
00eecf5bdd moved to key based ssh 2010-03-12 01:19:45 -08:00
Mitchell Hashimoto
9c8db3b48a Revert up-ramping SSH timeout. Doesn't solve issue with SSH.execute slowness on internet-less machines. 2010-03-11 19:29:41 -08:00
Mitchell Hashimoto
2c1483ae80 SSH.up? timeout slowly ramps up based on configuration values, giving later attempts more time. 2010-03-11 17:59:25 -08:00
Mitchell Hashimoto
d818bf856b SSH timeout is now configurable with config.ssh.timeout 2010-03-08 19:30:58 -08:00
Mitchell Hashimoto
1139ec9e0c SSH.up? actually times out properly now 2010-03-08 19:17:43 -08:00
Mitchell Hashimoto
8d9e53fe27 SSH.up? returns false when an abrupt disconnect occurs 2010-02-16 16:05:58 -08:00
Mitchell Hashimoto
ebc3c70f8b SSH.execute uses the new port helper 2010-02-15 18:52:33 -08:00
Mitchell Hashimoto
f3cd0591d0 Refactored SSH in how it retrieves the port 2010-02-15 18:07:11 -08:00
Mitchell Hashimoto
c1998d2127 And then God said unto thee, "You shall be named Vagrant." 2010-02-09 23:08:23 -08:00