Commit Graph

3511 Commits

Author SHA1 Message Date
Timothy Sutton 78ec8b5809 Darwin: clean up temporary network interface file downloaded from guest 2013-08-06 10:17:52 -04:00
Timothy Sutton 300d151608 Darwin guest: mount_vmware_shared_folder cap for use with vmware_fusion provider
- It's not clear whether it's possible to mount individual shares
  using 'mount -t vmhgfs', as the vagrant-vmware-fusion provider now does
  for Linux guests. Any mount from '.host', even if not a valid share
  name, succeeds and mounts _all_ shares in their respective directories
  at the root of the mountpoint. Instead, we symlink each directory from
  its place in '/Volumes/VMware Shared Folders'
2013-08-06 10:17:12 -04:00
Brian Johnson 7d0a92c5b4 Remove the +1 offset, I resolved the issue with the 'phantom' en1
interface. For some reason interfaces still skip en1, but provided we
enumerate based on order and not name, things should work smoothly.
2013-08-05 18:45:42 -07:00
Brian Johnson e5ce19ff11 Tabs must die. 2013-08-05 18:07:45 -07:00
Brian Johnson 3611ff39f4 Change mount_nfs_folder cap to be more like the linux version, adding a
bunch of retires rather than a long sleep.

Add DarwinNFSMountFailed error. This might move be more appropriate at
the plugin level.

Integrate some of tvsutton's work in configure_networks to get the
implementation closer to working in both fusion and virtualbox.

Add shell_expand_guest_path capability (also copied from linux)
2013-08-05 17:39:44 -07:00
Brian Johnson 5606aa8b1e Working implementation with NFS, still some caveats:
- There's a lengthy sleep in there, probably could use a back-off loop
- en1 seems totally worthless on vbox, I skip it and just use the en2 it creates.
2013-07-31 18:07:04 -07:00
Brian Johnson 2b7aca1d83 Highly limited osx (darwin) guest plugin.
- Tested on mountainlion/virtualbox
- virtualbox shared folders will not work (no vboxvsf support)
- Must use at least 2GB of RAM or the os will refuse to boot(mountainlion requirement)

To begin, create a mountainlion vm in virtualbox. You will need to install from scratch most likely, and assign at least 2GB of ram for it to install.

Create 2 network interfaces, the first one a NAT interface, second a hostonly interface.

'vagrant package' the VM.

In your vagrant file, be sure that the synced folder is disabled:
config.vm.synced_folder "vagrant", "/vagrant", disabled: true
2013-07-10 18:21:06 -07:00
Mitchell Hashimoto abd22dfe72 Up version for development 2013-07-09 19:10:56 -07:00
Mitchell Hashimoto 95d308caae v1.2.3 2013-07-09 17:01:01 -07:00
Mitchell Hashimoto 5cbfbdf2d2 Update CHANGELOG 2013-07-09 16:46:06 -07:00
Mitchell Hashimoto 2e969065b7 Merge pull request #1911 from emyl/no_route_fix
Raise a proper SSH error on EHOSTUNREACH
2013-07-09 16:45:35 -07:00
Mitchell Hashimoto 79f42fea28 Merge pull request #1913 from mightybs/master
Stop ruby regex error on "Fedora Core" releases.
2013-07-09 16:44:06 -07:00
Brett Stauner 442300794e Support Fedora when it was "Fedora Core"
The version_number regex was causing an error because my /etc/redhat-release looks like this:

Fedora Core release 6 (Zod)

This fix allowed initialize to run just fine on my ridiculously old release.
2013-07-09 15:47:49 -05:00
Fabio Rehm b2b7643dfc Merge pull request #1720 from tawan/patch-1
Fix typo.
2013-07-09 09:19:48 -07:00
Fabio Rehm e92059e7e0 Merge pull request #1861 from trlinkin/rdoc_builder
Vagrant::Action::Builder RDoc correction
2013-07-09 09:16:39 -07:00
Fabio Rehm 110dc8aa83 Merge pull request #1912 from emyl/locales_cleanup
Remove duplicate entry in en.yml
2013-07-09 09:06:44 -07:00
emyl 6b5f386d18 Remove duplicate entry in en.yml
Key vagrant.config.vm.network_ip_required appears twice. Remove the unused entry.
2013-07-09 17:32:37 +02:00
Emiliano Ticci b0b18c64dd Raise a proper SSH error on EHOSTUNREACH 2013-07-09 14:35:07 +02:00
Thomas Linkin d95b202346 Vagrant::Action::Builder RDoc correction
The RDoc comments for `Vagrant::Action::Builder#to_app` reference an
instance of `Vagrant::Action::Environment` as the passed paramter. There
is no class `Vagrant::Action::Environment` available. The param being
passed is actually a `Hash` that represents the "action environment".

This commit corrects the RDoc lines for
`Vagrant::Action::Builder#to_app` to correctly reference the passed
`Hash`.
2013-06-24 13:10:32 -04:00
Mitchell Hashimoto e1e57024dc Merge pull request #1859 from sethvargo/remove_json
Remove JSON gem dependency since 1.9 comes standard.
2013-06-24 09:00:28 -07:00
Seth Vargo 579e591dfb Remove JSON gem dependency 2013-06-24 11:56:43 -04:00
Fabio Rehm 4c850cedbc Update CHANGELOG 2013-06-14 00:13:44 -03:00
Fabio Rehm c38b2c053f Merge pull request #1698 from Govinda-Fichtner/gentoo_fix
fix uninitialized constant error for gentoo plugin
2013-06-13 20:13:04 -07:00
Fabio Rehm d76eb25d74 Merge pull request #1818 from fgrehm/kick-off-contributing-guidelines
Kick off vagrant's Contributing Guidelines
2013-06-10 20:14:59 -07:00
Fabio Rehm 2c806079c9 Add notes about debugging logs to contributing guidelines 2013-06-09 20:42:31 -03:00
Fabio Rehm 9b947d0c4a Change link to issue tracker on CONTRIBUTING.md 2013-06-09 20:40:26 -03:00
Fabio Rehm 68e5e8e740 Kick off CONTRIBUTING.md based on @anselmh's https://github.com/anselmh/CONTRIBUTING.md 2013-06-09 20:37:24 -03:00
Mitchell Hashimoto ba242cd978 Merge pull request #1714 from aszeszo/master
Use proper detection for Solaris
2013-06-09 15:55:24 -07:00
Mitchell Hashimoto 0e208f490c Update CHANGELOG 2013-06-09 15:53:10 -07:00
Mitchell Hashimoto 958efc28a7 Merge pull request #1760 from tunix/netctl
fixed networking issues of Arch Linux with netctl changes
2013-06-09 15:52:02 -07:00
Mitchell Hashimoto 6b1a7fcc0d Merge pull request #1763 from ekalinin/patch-1
Improved autocompletion for bash
2013-06-09 15:49:02 -07:00
Mitchell Hashimoto ba91602628 Bind default SSH to 127.0.0.1 [GH-1785] 2013-06-09 15:15:59 -07:00
Mitchell Hashimoto 6c99f3dfa7 tweaks for style 2013-06-09 13:51:19 -07:00
Mitchell Hashimoto 8906ae01a8 Merge pull request #1783 from Aigeruth/issue-654
Check for binaries as part of Subprocess
2013-06-09 13:48:21 -07:00
Mitchell Hashimoto cf2f6da4db Validate an IP is given for a private network [GH-1788] 2013-06-09 13:46:46 -07:00
Mitchell Hashimoto 3d1332c86f virtualbox: only configure networks if there are some [GH-1796] 2013-06-09 13:37:15 -07:00
Mitchell Hashimoto 16139dc435 Merge pull request #1798 from hecko/master
fixes the status command output formatting
2013-06-09 13:30:36 -07:00
Mitchell Hashimoto 5e48391b05 read_ip_address linux cap only reads ip of first device [GH-1799] 2013-06-09 13:27:08 -07:00
Mitchell Hashimoto 80f06605fb config.vm.guest now forces guest setting again [GH-1800] 2013-06-09 13:17:23 -07:00
Mitchell Hashimoto 2209204cf2 Update CHANGELOG 2013-06-09 13:10:51 -07:00
Mitchell Hashimoto 27994d20cc Merge pull request #1808 from glensc/ssh-agent
add ssh agent sample to Vagrantfile
2013-06-09 12:53:31 -07:00
Mitchell Hashimoto c941de94cc Merge pull request #1815 from jprosevear/master
Set ARPCHECK=no as an environment variable with doing ifup #921
2013-06-09 12:46:06 -07:00
JP Rosevear 1029538b24 Set ARPCHECK=no as an environment variable with doing ifup #921 2013-06-09 14:14:33 -04:00
Elan Ruusamäe dab0faf6b5 add ssh agent sample to Vagrantfile 2013-06-07 19:02:49 +03:00
Marcel Hecko 4b9c21b5a6 [status command print formatting]
the result line needs space between the name of the VM and short_description - otherwise the formatting of the output breaks when the name of the VM is too long - the name of the VM gets smashed together with the short_description rendering
2013-06-05 14:10:24 +02:00
Gabor Nagy a4979c4824 [GH-654] Missing condition and translations 2013-06-03 00:04:25 +02:00
Gabor Nagy 4c00abe69e Modifies to use util/which [GH-654] 2013-06-02 03:48:47 +02:00
Mitchell Hashimoto 6d33fe440c Update CHANGELOG 2013-06-01 17:44:25 -07:00
Mitchell Hashimoto c591adaffd Merge pull request #1781 from dsesh/patch-1
Fix setting persistent hostname on SLES guests.
2013-06-01 17:43:35 -07:00
Gabor Nagy 0936267314 Fixes [GH-654] on Windows 8x64 and Ruby 1.9.3p374
Replaces the command with absolute path version if it exists.
2013-06-01 14:29:45 +02:00