Mitchell Hashimoto
35adc6063b
providers/hyperv: add test for windows guests
2014-03-05 18:50:31 -08:00
Mitchell Hashimoto
9120339dc7
providers/hyperv: set the hostname
2014-02-28 18:58:41 +01:00
Mitchell Hashimoto
729f0f5db8
providrs/hyperv: ask for the vswitch to use
2014-02-27 08:13:18 -08:00
Mitchell Hashimoto
3ddc63c88f
providers/hyperv: add script to read switches
2014-02-27 08:13:17 -08:00
Mitchell Hashimoto
da58f7bdc0
providers/hyperv: remove bad reference to file
2014-02-27 08:13:16 -08:00
Mitchell Hashimoto
bdcb92ed07
providers/hyperv: disable parallelism
2014-02-27 08:13:15 -08:00
Mitchell Hashimoto
39bf9db651
providers/hyperv: remove unused config
2014-02-27 08:13:15 -08:00
Mitchell Hashimoto
d1bdfe492b
providers/hyperv: style
2014-02-27 08:13:14 -08:00
Mitchell Hashimoto
af4bc18c14
providers/hyperv: use IsState and Message built-ins everywhere
2014-02-27 08:13:13 -08:00
Mitchell Hashimoto
e93038fd0e
providers/hyperv: suspend/resume
2014-02-27 08:13:11 -08:00
Mitchell Hashimoto
ef71729c24
providers/hyperv: remove nonexistent action
2014-02-27 08:13:10 -08:00
Mitchell Hashimoto
760f3d9b7b
providers/hyperv: that synced folder stuff can go
2014-02-27 08:13:09 -08:00
Mitchell Hashimoto
41bc86c490
providers/hyperv: clean up provider since we moved out SMB
2014-02-27 08:13:08 -08:00
Mitchell Hashimoto
0fe4a4af26
synced_folders/smb: basically working
2014-02-27 08:13:05 -08:00
Mitchell Hashimoto
31abc3f4a3
providers/hyperv: fix file format to unix
2014-02-27 08:13:04 -08:00
Mitchell Hashimoto
ea871ec9ef
providers/hyperv: change wording to look a bit better
2014-02-27 08:13:03 -08:00
Mitchell Hashimoto
4c810a879a
providers/hyperv: clone the disk
2014-02-27 08:13:02 -08:00
Mitchell Hashimoto
d8e4482f2c
providers/hyperv: enable provisioning
2014-02-27 08:13:01 -08:00
Mitchell Hashimoto
d4ec3b5dfc
providers/hyperv: reset machine ID if machine deleted outside
2014-02-27 08:13:00 -08:00
Mitchell Hashimoto
faf906c057
providers/hyperv: wait for communicator on boot
2014-02-27 08:12:59 -08:00
Mitchell Hashimoto
9fa4549105
providers/hyperv: remove unused var
2014-02-27 08:12:58 -08:00
Mitchell Hashimoto
5d19285774
providers/hyperv: wait for IP on boot
2014-02-27 08:12:57 -08:00
Mitchell Hashimoto
64abd95c6f
providers/hyperv: use HandleBox middleware
2014-02-27 08:12:57 -08:00
Mitchell Hashimoto
27688a183b
providers/hyperv: destroy
2014-02-27 08:12:56 -08:00
Mitchell Hashimoto
7c0948c81d
providers/hyperv: clean up status script
2014-02-27 08:12:55 -08:00
Mitchell Hashimoto
88247797d4
providers/hyperv: more cleanup
2014-02-27 08:12:54 -08:00
Mitchell Hashimoto
fe93b0d2a5
providers/hyperv: more checks on machine import
2014-02-27 08:12:53 -08:00
Mitchell Hashimoto
784a5b2e32
providers/hyperv: all sorts of tests to verify Windows/admins
2014-02-27 08:12:51 -08:00
Mitchell Hashimoto
ab4390eb67
providers/hyperv: clean up driver error handling quite a bit
2014-02-27 08:12:51 -08:00
Mitchell Hashimoto
fb7dd73d95
providers/hyperv: better errors
2014-02-27 08:12:49 -08:00
Mitchell Hashimoto
a1958ee12f
providers/hyperv: shuffle things around
2014-02-27 08:12:48 -08:00
Mitchell Hashimoto
3d8971b15f
providers/hyper-v: cleanup
2014-02-27 08:12:47 -08:00
Mitchell Hashimoto
ca24d60d8f
providers/hyperv: initial commit
...
Initial work done by MS Open Tech
2014-02-27 08:12:46 -08:00
Mitchell Hashimoto
3324756e12
providers/virtualbox: don't log in trap context
2014-02-23 22:09:15 -08:00
Mitchell Hashimoto
d0cd2464b2
providers/virtualbox: only clear forwarded ports if there are any
2014-02-13 21:04:56 -08:00
Mitchell Hashimoto
b1bed68bed
providers/virtualbox: cap to read forwarded ports
2014-02-13 16:34:34 -08:00
Mitchell Hashimoto
8d3afa73d2
providers/virtualbox: config to skip guest additions check
2014-02-08 18:35:09 -08:00
Mitchell Hashimoto
1a5ad9f3d5
providers/virtualbox: check for outdated on any start
2014-02-05 21:20:17 -08:00
Mitchell Hashimoto
bfca65b098
core: better output for BoxCheckOutdated
2014-02-05 21:20:16 -08:00
Mitchell Hashimoto
4cedd590d9
providers/virtualbox: use new HandleBox middleware
2014-02-05 21:20:05 -08:00
Mitchell Hashimoto
56e85bc989
Merge pull request #2906 from frosario/cable_connected
...
providers/virtualbox: connect cable for bridged networking
2014-02-03 03:05:16 -08:00
Freddie Rosario
ccf14bb398
Applying bugfix for cableconnected issue to earlier releases of virtualbox 4.x series
2014-01-28 11:05:44 -05:00
Freddie Rosario
cd0c7dfbd9
Bugfix for github issue 2890.
...
Changing default behavior of vagrant up to enable "cableconnected" on bridged network devices
2014-01-28 10:54:39 -05:00
Mitchell Hashimoto
ea77194384
providers/virtualbox: more detailed output
2014-01-17 21:03:01 -08:00
Mitchell Hashimoto
5b449c8000
providers/virtualbox: many `detail` level output
2014-01-17 21:03:00 -08:00
Mitchell Hashimoto
dd33a26422
providers/virtualbox: network config uses proper format, tests [GH-2854]
2014-01-17 09:53:02 -08:00
Mitchell Hashimoto
eecba611a4
providers/virtualbox: validate missing keys [GH-2831]
2014-01-16 09:43:31 -08:00
Mitchell Hashimoto
eae2edf063
providers/virtualbox: retry list hostonlyifs [GH-2831]
2014-01-15 19:55:31 -08:00
Mike Fiedler
9679eccb06
extend Virtualbox convenince methods
...
In the vein of #2426 , I too can never remember syntax, and end up
hunting for either an exisiting Vagrantfile or starting to dig up
details.
2014-01-10 12:41:23 -05:00
Mitchell Hashimoto
2f7163386d
providers/virtualbox: don't error when intnet set to "true" [GH-2751]
2014-01-03 08:31:14 -08:00
Mitchell Hashimoto
3f2d3886b2
providers/virtualbox: fix package [GH-2739]
2014-01-02 10:09:05 -08:00
Mitchell Hashimoto
7141be065a
Merge pull request #2674 from phinze/static-nfs-guest-ips
...
core: problems with using VirtualBox guest properties for reading NFS Guest IP
2013-12-31 11:00:23 -08:00
Mitchell Hashimoto
54f4cffc00
providers/virtualbox: export after checking if package exists [GH-2380]
2013-12-31 08:45:56 -08:00
Paul Hinze
fc66ec1660
providers/virtualbox: allow and prefer static guest IPs for NFS
...
Since vbox guest properties are proving to be less reliable than we had
hoped, bring back the static config parsing mechanism for finding a
guest IP to hand to NFS. If we find a static IP (or set of IPs) we'll
use that instead of trying to probe guest properties.
This retains NFS support for DHCP interfaces while regaining the
reliability that we previously had when static IPs were required.
2013-12-28 17:01:08 -06:00
Mitchell Hashimoto
c1141dded3
providers/virtualbox: don't clear /etc/exports on BSDs for NFS [GH-2645]
2013-12-13 22:03:14 -08:00
Mitchell Hashimoto
2c65d247da
core: Allow options to be passed down into SF cleanup
2013-12-06 16:40:24 -08:00
Mitchell Hashimoto
55931d507e
Merge branch 'nfs-sync-folder-cleanup' of https://github.com/emyl/vagrant into emyl-nfs-sync-folder-cleanup
...
Conflicts:
plugins/providers/virtualbox/action.rb
2013-12-06 15:06:34 -08:00
Mitchell Hashimoto
b65462faf1
providers/virtualbox: resume should wait for boot
2013-12-06 13:21:07 -08:00
Mitchell Hashimoto
0d02ada43b
providers/virtualbox: only clear shared folders if we have a VM
2013-12-05 13:39:23 -08:00
Teemu Matilainen
897fde3274
Add missing argument to ProviderVirtualBox::SyncedFolder#driver call
...
GH-2577 missed passing the `machine` to the `driver` method.
2013-12-05 00:21:16 -03:00
Emiliano Ticci
07bbca426e
NFS/VBox: remove dedicated cleanup action in favour of native routine.
2013-12-04 12:29:09 +01:00
Emiliano Ticci
c95fc4e27c
VirtualBox shared folders: remove dedicated cleanup action in favour of native routine.
2013-12-04 12:22:01 +01:00
Mitchell Hashimoto
832a5ef70b
providers/virtualbox: clean up synced folders on destroy
2013-12-03 18:44:37 -08:00
Mitchell Hashimoto
ca521887eb
Merge pull request #2561 from emyl/synced-folder-cleanup-v2
...
core: Enhance the synced folder plugin implementation with a cleanup routine
2013-12-03 18:08:42 -08:00
Paul Hinze
c25172d0f7
providers/virtualbox: support DHCP interfaces for NFS
...
Previously, we required a host-only interface with a static IP for NFS
to work in VirtualBox, because we needed access to the guest's IP in
order to properly configure mount commands.
After boot, VirtualBox exposes the IP addresses of a guest's network
adapters via the "guestproperty" interface.
This adds support for reading VirtualBox guest properties to the
VirtualBox driver and utilizes that support to prepare NFS settings,
which removes the necessity for a static IP for NFS to work.
In this commit we also start building out scaffolding for unit testing
vbox actions and drivers.
Test plan:
- Prepare a Vagrantfile with the following:
* private network with type: :dhcp
* synced folder with nfs: true
- Boot a VM from this Vagrantfile using the virtualbox provider
- Machine should boot successfully with working synced folder
2013-12-03 10:21:28 -05:00
Emiliano Ticci
578393ac8e
Add cleanup routine to synced folder plugin implementation
2013-12-02 11:19:09 +01:00
Mitchell Hashimoto
602505a136
providers/virtualbox: some validation around internal networks
2013-11-25 11:25:10 -08:00
Mitchell Hashimoto
2d957cdaab
providers/virtualbox: internal networks [GH-2020]
2013-11-25 11:13:46 -08:00
Mitchell Hashimoto
c8be50c69e
providers/virtualbox: get rid of some 4.3 global state
2013-11-23 16:30:09 -08:00
Mitchell Hashimoto
2044c7445e
Merge pull request #2484 from andyfowler/virtualbox-parallel-import
...
provider/virtualbox: virtualbox parallel box import
2013-11-23 16:23:07 -08:00
Mitchell Hashimoto
cfe17076b5
providers/virtualbox: nitpick on style
2013-11-23 16:16:45 -08:00
Mitchell Hashimoto
56eb53d8af
Merge pull request #2483 from andyfowler/retryable-customize
...
providers/virtualbox: use Retryable for Virtualbox customize & sane_defaults actions
2013-11-23 16:12:20 -08:00
Mitchell Hashimoto
aed61291e8
Update CHANGELOG
2013-11-23 11:45:06 -08:00
Mitchell Hashimoto
4e75e39ee5
Merge pull request #2426 from tmatilai/virtualbox_memory
...
providers/virtualbox: Add shortcut for setting the memory size for VirtualBox VM
2013-11-23 11:44:13 -08:00
Mitchell Hashimoto
c00b045f53
providers/virtualbox: retry suspended check [GH-2479]
2013-11-23 11:20:22 -08:00
Mitchell Hashimoto
2c8b6ace7f
providers/virtualbox: output UI
2013-11-22 19:33:17 -08:00
Mitchell Hashimoto
0b9861db7d
providers/virtualbox: fix broken NFS check
2013-11-22 17:29:35 -08:00
Mitchell Hashimoto
be6d4cc116
providers/virtualbox: make sure sf host paths are strings
2013-11-22 17:16:21 -08:00
Mitchell Hashimoto
35ac7da5a0
providers/virtualbox: don't use NFS middleware anymore
2013-11-22 17:13:53 -08:00
Mitchell Hashimoto
52fe93cc41
synced_folders/nfs: begin implementation (not functional)
2013-11-22 16:51:55 -08:00
Mitchell Hashimoto
9d3818a380
providers/virtualbox: use new SyncedFolders middleware
2013-11-22 16:21:14 -08:00
Mitchell Hashimoto
97148379d2
providers/virtualbox: implement the synced folder plugin
2013-11-21 17:38:17 -08:00
Mitchell Hashimoto
504707f96a
Merge pull request #2482 from andyfowler/safer-vbox-names
...
core: safer default VM names for Virtualbox
2013-11-21 15:01:31 -08:00
phinze
4225b0eb7b
provider/virtualbox: fix bad constant reference in dhcp error
...
refs #2454
2013-11-20 11:15:25 -06:00
Andy Fowler
b13122cab7
use Retryable for virtualbox customize + defaults
...
when up-ing several boxes at once, VBoxManage modifyvm gets cranky and throws random lock errors. this adds the existing retryable logic to
the customize and sane_defaults actions, both of which fire a bunch of
modifyvm commands, all of which are fine to run multiple times.
2013-11-09 18:16:47 -05:00
Andy Fowler
d775756d18
use a safer default name for virtualbox
...
if the same vagrantfile is up'd in the same second in the same basedir
this caused a conflict,
most notably, all jenkins jobs sit in a 'workspace' directory, which
breaks if more than one job launches from the same trigger.
2013-11-09 15:54:46 -05:00
Andy Fowler
2e9286b4d3
use vbox4.2 driver parallel-safe box import in 4.3
...
uses what @smoyer did for vbox 4.2 in vbox 4.3,
tested against VBoxManage 4.3.2
2013-11-08 12:48:37 -05:00
Scott Moyer
c2a3a30e35
Update the virtualbox driver to import base boxes into a unique(ish) VM folder to prevent collisions.
2013-11-07 17:07:29 -05:00
Teemu Matilainen
3368ef610a
Add shortcut for setting the memory size for VirtualBox VM
2013-10-28 00:43:33 -03:00
Stephan Meissl
889233ed94
Automatically enable symlinks on vboxsf for VirtualBox 4.1 (see #713 and 387692f9c8
).
2013-10-23 23:00:07 +02:00
Mitchell Hashimoto
b2070eec53
providers/virtualbox: Support VirtualBox 4.3 [GH-2374]
2013-10-15 11:42:22 -10:00
Tomdarkness
27c7243219
Move exception raising back into retryable block in VirtualBox driver command execution
...
By moving the exception throwing back into the retryable block it actually enables the retryable to function properly by retrying, if appropriate, when an certain exception is raised.
2013-10-11 18:32:54 +01:00
Mitchell Hashimoto
79fa7000fa
providers/virtualbox: don't touch DYLD_* anymore.
...
Subprocess handles this
2013-09-20 17:57:44 -07:00
Mitchell Hashimoto
a36f06f28f
Update CHANGELOG
2013-09-15 16:39:54 -07:00
Mike Rowehl
251cafe5e4
Call the rest of the middleware stack all the time.
2013-09-13 09:34:40 -07:00
Mitchell Hashimoto
154b32e561
Merge pull request #1745 from jheise/master
...
providers/virtualbox: static ip addresses on public networks
2013-09-02 15:10:33 -07:00
Mitchell Hashimoto
a96efcdec9
providers/virtualbox: only set default name on first up [GH-1817]
2013-08-31 22:43:33 -07:00
Mitchell Hashimoto
c38d28f1c5
providers/virtualbox: 4.2 max network adapters to 36 [GH-1886]
2013-08-29 16:50:20 -07:00
Mitchell Hashimoto
0f4ba6dc3b
providers/virtualbox: Run post-boot after boot but before wait for SSH
...
[GH-2048]
2013-08-29 16:44:32 -07:00
Mitchell Hashimoto
261d0ef6cd
core: WaitForCommunicator - more robust wait for boot
...
This is a new built-in middleware that is more robust for
waiting for boots. The "max_tries" configuration is now gone, it is
timeout based. Future commits will make this even better as the
SSH communicator will implement the new "wait_for_ready" in a better
way.
2013-08-29 16:27:00 -07:00