330 Commits

Author SHA1 Message Date
Mitchell Hashimoto
79e8a6ef0a Port forwarding definitions with the same guest port will override earlier 2012-01-05 22:58:38 -08:00
Mitchell Hashimoto
09e11ae792 Fix forwarded port map which still references "name" 2012-01-04 16:47:03 -08:00
Mitchell Hashimoto
a1b66f82aa Consistently generate names for forwarded ports.
To do this, I convert the ports to base 32 strings in the format
of "guestport-hostport." This makes a consistent mapping we can use
to look up if the forwarded port is set.
2012-01-03 10:34:35 -08:00
Mitchell Hashimoto
b45286f780 Don't bother enabling/configuring network adapters if there are none 2012-01-03 10:24:31 -08:00
Mitchell Hashimoto
2d1ed88bcd Forwarded ports no longer require a name paramter 2012-01-03 10:22:42 -08:00
Mitchell Hashimoto
aac9bb5ec5 Make adapter 1-based for forwarded ports as well 2012-01-03 10:11:07 -08:00
Mitchell Hashimoto
7982f01f2e Check for adapter collisions 2012-01-03 09:34:32 -08:00
Mitchell Hashimoto
20edb5d05a Error if no available network adapters are found 2012-01-03 08:01:26 -08:00
Mitchell Hashimoto
99d3565132 Delete old networking actions 2012-01-02 19:53:29 -08:00
Mitchell Hashimoto
97f7fa633d Re-implement how networking is done internally 2012-01-02 19:51:38 -08:00
Mitchell Hashimoto
76a77432b8 Clear all network adapters during the boot process 2012-01-01 22:02:30 -08:00
Mitchell Hashimoto
22d042cb94 Vagrant now asks what adapter to bridge to 2012-01-01 00:05:47 -08:00
Mitchell Hashimoto
567c09df21 Allow a MAC address to be specified for bridges 2011-12-31 19:13:51 -08:00
Mitchell Hashimoto
474ac3a63d Enabling bridged networks on Debian 2011-12-31 11:53:04 -08:00
Mitchell Hashimoto
42883cbd20 Bridged networking basics. 2011-12-31 11:35:09 -08:00
Mitchell Hashimoto
8f3a7ce22d Rename Network action to HostOnlyNetwork 2011-12-31 01:04:06 -08:00
Mitchell Hashimoto
f7125b1dd7 Default host only adapters to #1 again 2011-12-31 00:55:37 -08:00
Mitchell Hashimoto
77b915f06a Logging, and prepare code to automatically find next available adapter 2011-12-31 00:34:08 -08:00
Mitchell Hashimoto
b5b3805157 Add validation once again for host only networks 2011-12-31 10:55:37 +09:00
Mitchell Hashimoto
c64f5e8d05 Refactor the Network action a bit 2011-12-31 05:03:17 +09:00
Mitchell Hashimoto
7e4d652702 Make export in general VBoxManage friendly 2011-12-26 19:06:44 -08:00
Mitchell Hashimoto
fbe984b32d Check for package files before any exports or anything [GH-597] 2011-12-26 18:48:38 -08:00
Mitchell Hashimoto
6a1864011d Require things as they're needed 2011-12-26 18:36:18 -08:00
Mitchell Hashimoto
ab0276c4a9 VM::Modify no longer exists 2011-12-26 18:35:19 -08:00
Mitchell Hashimoto
0887a18079 Make some fixes to get tests passing on Ruby 1.8.7 2011-12-26 17:45:55 -08:00
Mitchell Hashimoto
bfc85d7f14 Handle interrupts well with VirtualBox. 2011-12-26 17:00:41 -08:00
Mitchell Hashimoto
72b249fd19 Do port forwarding threshold check in the call method 2011-12-25 15:36:15 -08:00
Mitchell Hashimoto
ca938f041c Check currently forwarded ports when looking for collisions [GH-606] 2011-12-25 13:13:01 -08:00
Mitchell Hashimoto
81ad053f8a Check for port collisions after clearing forwarded ports on up 2011-12-25 10:18:49 -08:00
Mitchell Hashimoto
d80ff0a27f Pull out port collision detection/correction into the CheckPortCollision middleware 2011-12-25 10:13:08 -08:00
Mitchell Hashimoto
e870d1b29e Discarding state works with VBoxManage 2011-12-25 09:53:54 -08:00
Mitchell Hashimoto
76f605f08d Nice error message if port collisions are detected on resume [GH-602] 2011-12-25 09:48:49 -08:00
Mitchell Hashimoto
c0fabbe2bd Fix interrupted? call in boot 2011-12-22 21:50:20 -08:00
Mitchell Hashimoto
3cd262ed75 Unit tests for Vagrant::Action::Builder 2011-12-22 20:17:45 -08:00
Mitchell Hashimoto
dfeafa3776 Fix halt issues and acceptance test associated with it 2011-12-22 13:38:30 -08:00
Mitchell Hashimoto
e31ef01679 NAT checking for forwarded ports 2011-12-22 11:47:52 -08:00
Mitchell Hashimoto
698ad0af7e Import progress works again 2011-12-22 11:29:58 -08:00
Mitchell Hashimoto
ecbf7df859 Host only networks now work with VBoxManage 2011-12-21 22:27:06 -08:00
Mitchell Hashimoto
a3395f94ab Catch and handle customization errors 2011-12-21 16:37:59 -08:00
Mitchell Hashimoto
e1d0ce19ce Customizations are back in! 2011-12-21 16:25:58 -08:00
Mitchell Hashimoto
0aae0dd588 Box verification works with VBoxManage 2011-12-21 15:34:51 -08:00
Mitchell Hashimoto
177eb828af Remove customize action, this will need rethinking 2011-12-21 15:24:43 -08:00
Mitchell Hashimoto
7a70755362 Destroying unused network interfaces via VBoxManage 2011-12-21 15:17:10 -08:00
Mitchell Hashimoto
d2e33768f3 CleanMachineFolder action works with VBoxManage 2011-12-21 14:45:14 -08:00
Mitchell Hashimoto
d5981978a1 Resuming works better 2011-12-21 14:15:03 -08:00
Mitchell Hashimoto
a6e5078e4b VM suspending works 2011-12-21 14:12:35 -08:00
Mitchell Hashimoto
9cb0578c64 VM halt works. 2011-12-21 13:41:10 -08:00
Mitchell Hashimoto
48ea8173c6 Lots more VBoxManage 2011-12-21 13:37:59 -08:00
Mitchell Hashimoto
7527f6b7b6 Check for guest additions right after import 2011-12-21 12:11:48 -08:00
Mitchell Hashimoto
a39df9f150 Forwarded ports 2011-12-20 22:28:47 -08:00