Chris Beauchamp
0abb70ee89
changed sh to bash
2011-02-08 18:54:44 -08:00
Mitchell Hashimoto
6689a5a672
On sudo!, wait for channel/command to complete before returning
2011-02-05 15:09:48 -08:00
Mike Williams
4bb8b80950
"sudo -i sh" doesn't do the right thing on Debian lenny (sudo v1.6.9). Let's try "sudo sh -l" instead.
2011-02-02 15:29:33 -08:00
Mitchell Hashimoto
6d6ca39795
Host only networking only doesn't work on 64-bit Windows
2011-01-29 21:03:27 -08:00
Mitchell Hashimoto
fa1726a801
Don't rely on exceptions for data store file existence checking
2011-01-29 20:52:56 -08:00
Mitchell Hashimoto
d68b2a6615
Check if data store folder is a directory on Windows works
2011-01-29 20:50:31 -08:00
Mitchell Hashimoto
af85d29c1f
Up version for development
2011-01-28 18:05:14 -08:00
Mitchell Hashimoto
40a7f01c57
v0.7.1
2011-01-28 18:04:16 -08:00
Mitchell Hashimoto
3c13152c16
ssh-config checks key permissions prior to output
2011-01-28 17:52:44 -08:00
Mitchell Hashimoto
e02b871d1c
ssh-config now outputs configured config.ssh.host
2011-01-28 17:50:43 -08:00
Mitchell Hashimoto
8d55bdcae5
Style tweaks and tests added for changing host name
2011-01-28 17:41:48 -08:00
Mitchell Hashimoto
60ef9e482b
Modify /etc/hosts for RedHat when setting hostname
2011-01-28 17:34:26 -08:00
Mitchell Hashimoto
94b5074430
Merge branch 'master' of https://github.com/michaelbearne/vagrant
2011-01-28 17:30:15 -08:00
Mitchell Hashimoto
d58c1cf4d7
Gentoo host only network no longer fails if already enabled. [closes GH-286]
2011-01-26 14:31:59 -08:00
Mitchell Hashimoto
1e931eaba6
chmod and execute shell provisioning script in a single session
2011-01-25 11:43:25 -08:00
Mitchell Hashimoto
5a2dc84fca
Fix possibility of options being nil in SSH class
2011-01-24 20:46:22 -08:00
Mitchell Hashimoto
afcbeb9e7b
SSH#sudo! more compatible with all commands, example in details.
...
As pointed out by Charles Duffy, commands such as the following
didn't work in the previous version:
bash -c 'foo; bar'
Due to the way sudo! used `echo` to output lines into a tempfile.
This is now fixed.
2011-01-24 19:58:32 -08:00
Mitchell Hashimoto
535e72204c
Shell provisioner STDOUT/STDERR to console
2011-01-23 12:06:09 -08:00
Mitchell Hashimoto
75e283c81a
New `shell` provisioner which uploads and executes a script as root on VM
2011-01-23 12:00:50 -08:00
Mitchell Hashimoto
2821dcee7f
SSH commands which use sudo compatible with sudo < 1.7.0
2011-01-21 23:38:42 -08:00
Mitchell Hashimoto
baa2041c37
FreeBSD system
2011-01-21 16:03:50 -08:00
Kenneth Vestergaard
484b7290fa
add system provider for FreeBSD
2011-01-21 15:58:26 -08:00
Petyo Ivanov
31cc69cfa0
Fixed untrusted X11 forwarding when logging in.
...
Best explained here:
http://www.mail-archive.com/cygwin-xfree@cygwin.com/msg17927.html
2011-01-21 14:00:16 -08:00
Michael Bearne
b42925273a
Merge remote branch 'remotes/upstream/master'
2011-01-20 09:19:11 +00:00
Mitchell Hashimoto
59fa9ac46b
net-ssh 2.1.0. Adds "IdentitiesOnly" support for net-ssh, fixing problems.
2011-01-19 22:00:38 -08:00
Mitchell Hashimoto
d418a53ba3
Up version for development
2011-01-19 16:02:14 -08:00
Mitchell Hashimoto
df6da56c56
v0.7.0
2011-01-19 15:49:36 -08:00
Michael Bearne
f757184c06
added support for changing host name on up for Debian, Ubuntu and RedHat
2011-01-14 17:51:19 +00:00
Mitchell Hashimoto
9673b7eaee
Remove config.ssh.port, it actually never did anything
2011-01-14 00:36:49 -08:00
Mitchell Hashimoto
66bf56a073
Fix issue with puppet mounting shared folder as subfolder of another, causing spurious folder creation on the host
2011-01-14 00:21:20 -08:00
Mitchell Hashimoto
302f9ff0bb
Puppet provisioner can mount/configure module paths from local directory
2011-01-13 21:02:26 -08:00
Mitchell Hashimoto
28a2167dda
Up to 0.7.0.dev, release imminent
2011-01-13 17:40:07 -08:00
Mitchell Hashimoto
30d9afbb03
0.7.0 beta 2 (really release candidate)
2011-01-13 17:38:43 -08:00
Mitchell Hashimoto
db20f399fb
Improved puppet config validation
2011-01-13 17:27:39 -08:00
Mitchell Hashimoto
8d24f779f0
Provisioner config object should have access to the top config
2011-01-13 16:54:34 -08:00
Mitchell Hashimoto
fea6c1cf60
Assign puppet command to a variable for later use
2011-01-12 23:27:33 -08:00
Mitchell Hashimoto
547996e506
We don't need net-ssh-shell after all
2011-01-12 16:58:13 -08:00
Mitchell Hashimoto
2a5070dad7
All provisioners are now RVM-friendly
2011-01-12 16:57:19 -08:00
Mitchell Hashimoto
93d241f4ce
Puppet is now RVM friendly
2011-01-12 16:28:45 -08:00
Mitchell Hashimoto
55b7321f2b
Don't error check the "exit" call to SSH
2011-01-12 15:29:53 -08:00
Mitchell Hashimoto
8482eeff0b
net-ssh-shell support for shell-based SSH interactions
2011-01-12 15:21:54 -08:00
Mitchell Hashimoto
a4a02675ad
Add a nice full error message for the old-style provisioner setting
2011-01-12 01:19:21 -08:00
Mitchell Hashimoto
047f9970fe
Support hash based options for provisioners
2011-01-12 01:02:53 -08:00
Mitchell Hashimoto
f7666df24b
Fix 1.8.7 compatibility issue
2011-01-12 00:14:08 -08:00
Mitchell Hashimoto
658affe8cd
Provisioner config tests, fixed some bugs
2011-01-11 23:11:51 -08:00
Mitchell Hashimoto
eca25d1802
Remove unused error classes/messages
2011-01-11 22:43:35 -08:00
Mitchell Hashimoto
a91ad4d89f
Fixed provisioners to the new conventions. Tests passing!
2011-01-11 22:37:09 -08:00
Mitchell Hashimoto
cddccab9ae
Provision action works again
2011-01-11 22:13:09 -08:00
Mitchell Hashimoto
d951d058ce
Initial work on this. Tests are completely broken.
2011-01-11 21:07:12 -08:00
Mitchell Hashimoto
85b8ccc2ec
Provisioners now register themselves with their shortcut name
2011-01-11 19:52:55 -08:00