921 Commits

Author SHA1 Message Date
Mitchell Hashimoto
163da82170 Fix edge case which caused exception in network configuration code.
[GH-742]
2012-02-15 11:11:11 -08:00
Mitchell Hashimoto
034477b52a Add fsid to linux exports for NFS. [GH-736] 2012-02-14 23:08:32 -08:00
Mitchell Hashimoto
5c49d693d4 You can no longer output a package to a directory [GH-730] 2012-02-10 17:57:40 -08:00
Mitchell Hashimoto
99ec766efe Get rid of tabs 2012-02-10 17:57:40 -08:00
Mitchell Hashimoto
a25a691913 Don't forward ports if there aren't any to forward 2012-02-07 15:40:35 -08:00
Mitchell Hashimoto
a6a42b31df Ability to specify :bridge to networking [GH-655] 2012-02-04 15:04:28 +01:00
Mitchell Hashimoto
26d9636faf Better logging with the bridged networking layer 2012-02-04 14:51:55 +01:00
withnail
77c1b7c9e2 Only list bridged interfaces that are up [GH-701] 2012-02-01 15:38:57 -08:00
Mitchell Hashimoto
f9a42973d9 Select NFS version with :nfs_version 2012-01-29 13:34:50 -08:00
Mitchell Hashimoto
3a8c44301b Fix some issues with NFS version selecting 2012-01-29 13:33:35 -08:00
sathlan
4715400761 The type of nic can be set for bridged network.
:nic_type can be specified in the network bridged type. Its value can
be Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, virtio.
2012-01-28 21:50:04 -08:00
Mitchell Hashimoto
d687473760 Fix crashing issue when all networks don't aut config [GH-689] 2012-01-28 21:48:12 -08:00
Mitchell Hashimoto
88ba3a3619 Change middleware internals to make plugin lives easier [GH-684] 2012-01-28 17:31:50 -08:00
Seth Chisamore
14c4dc5d53 add vbox driver support for creating transient shared folders 2012-01-27 11:53:42 -08:00
Mitchell Hashimoto
8d6a33584f Set the name as a separate step. [GH-669] 2012-01-25 21:16:21 -08:00
Mitchell Hashimoto
0576d6e817 NFS shared folders can have the :create flag, too [GH-667] 2012-01-24 21:54:47 -08:00
Mitchell Hashimoto
3cda2e48dc Setting :auto_config to false will not configure a network. [GH-663] 2012-01-24 21:29:26 -08:00
Mitchell Hashimoto
17224e3df6 Merge pull request #675 from scoates/755499
ignore host-only interface if it is down
2012-01-23 17:57:17 -08:00
Mitchell Hashimoto
ae8b476639 Fix crashing issue with bridged networking [GH-673] 2012-01-23 10:05:03 -08:00
Sean Coates
755499dcf9 ignore interface if it is Ddown (not 100% sure about vbox4.0 support; please test) 2012-01-23 10:38:18 -05:00
Mitchell Hashimoto
ce365336cd Unnecessary line of code 2012-01-20 11:36:12 -08:00
Mitchell Hashimoto
4ead6e3f82 If there is only one bridgable interface, just use that [GH-655] 2012-01-19 21:11:42 -08:00
Mitchell Hashimoto
06733a070d NFS action no longer needs to recover from anything 2012-01-17 13:37:52 -08:00
Mitchell Hashimoto
7f10c05b5b Clean up export progress output 2012-01-13 17:46:39 -08:00
Mitchell Hashimoto
1927f8ef79 No more NFSHelpers 2012-01-12 23:34:06 -08:00
Mitchell Hashimoto
7fdbb68917 Prune NFS exports more cleanly. 2012-01-12 23:30:19 -08:00
Mitchell Hashimoto
5630dc144d Fix up NFS to use the new VirtualBox drivers 2012-01-12 22:19:23 -08:00
Mitchell Hashimoto
5c2bb9412d A much cleaner way to find NFS folders to mount 2012-01-12 22:11:59 -08:00
Mitchell Hashimoto
7dc5f8ca80 Revert "Always clear NFS exports for the VM booting [GH-529]"
This reverts commit 70705d28616e30d75ac70cc41565a616a2b03325.
2012-01-12 22:11:59 -08:00
Mitchell Hashimoto
70705d2861 Always clear NFS exports for the VM booting [GH-529] 2012-01-12 18:15:53 -08:00
Mitchell Hashimoto
14d61f61ba The full options data is sent to mount_shared_folder 2012-01-11 23:14:04 -08:00
Mitchell Hashimoto
cb6020869f Prompt for reload if shared folders aren't setup for Chef [GH-253] 2012-01-10 22:36:39 -08:00
Mitchell Hashimoto
bb2a473549 Added a --provision-with flag to specify provisioners to use. [GH-367] 2012-01-10 22:03:22 -08:00
Mitchell Hashimoto
0c0d456db2 Add --force flag to box add [GH-631] 2012-01-10 20:37:33 -08:00
Mitchell Hashimoto
8aa4e58ea8 Check for conflicting DHCP servers 2012-01-08 20:33:12 -08:00
Mitchell Hashimoto
4e426249ed Basic :dhcp configuration works. 2012-01-08 20:33:12 -08:00
Mitchell Hashimoto
89eb256f9d Proper error handling if the shared folder cannot be created [GH-604] 2012-01-08 11:29:52 -08:00
Mitchell Hashimoto
9cb4597a27 :create flag on shared folders will create on host if it doesnt exist [GH-604] 2012-01-08 11:23:43 -08:00
Mitchell Hashimoto
8d32002c02 Don't clear NFS exports on expected failure [GH-577] 2012-01-07 22:01:44 -08:00
Mitchell Hashimoto
7fce25e858 Show attempting graceful shutdown message from action, not guest 2012-01-07 11:44:53 -08:00
Mitchell Hashimoto
7bdbec4229 Start switching the old SSH API to the new one 2012-01-06 20:07:32 -08:00
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