Commit Graph

693 Commits

Author SHA1 Message Date
Dmitry Vasilets
0cd02df768 Merge pull request #148 from sciurus/1.4_only
Remove code paths for older vagrant.
2014-02-06 20:56:27 +01:00
Brian Pitts
2edf4451dc Remove code paths for older vagrant.
Since previous commits have broken compatiblilty with vagrant versions
older than 1.4, this commit removes code supporting those versions.
2014-02-05 10:52:14 -06:00
Ben Keith
03cd2c24f8 Catching exception on initial read_state 2014-02-05 11:19:16 -05:00
Dmitry Vasilets
b7212a9d3c Merge pull request #143 from sciurus/CHANGELOG
Update changelog
2014-02-01 18:43:05 -08:00
Brian Pitts
15df77bc0b Update changelog 2014-02-01 20:38:42 -06:00
dima
de4ca2ba97 version 0.0.15 , min supported vagrant version 1.4.3 2014-02-01 22:20:03 +01:00
dima
2a6cb05dcb simple changes by rubocop recomendations 2014-02-01 22:17:59 +01:00
Dmitry Vasilets
ea70c8f007 Merge pull request #142 from keitwb/run_provisioner_fix
Fixing parameters of run_provisioner
2014-02-01 13:17:01 -08:00
Ben Keith
16b258916b Fixing parameters of run_provisioner
- Removed logging since that was moved one method up in the Vagrant code
2014-02-01 15:34:45 -05:00
Dmitry Vasilets
619b7d4f51 Merge pull request #140 from sciurus/authors
Add Brian to gem authors
2014-01-30 18:05:05 -08:00
Brian Pitts
2b2277d884 Add Brian to gem authors 2014-01-30 20:02:42 -06:00
Dmitry Vasilets
a40a6b1512 Merge pull request #137 from sciurus/network_interfaces
Fix network device creation logic
2014-01-30 17:44:43 -08:00
Dmitry Vasilets
b719d1832c Merge pull request #138 from mpalmer/nfs-default-impl
Use the MixinSyncedFolders to allow us to comprehend default shared folders implementations
2014-01-30 17:30:51 -08:00
Dmitry Vasilets
336c16cf24 Merge pull request #139 from sciurus/forwarded-ports
Add support for port forwarding take two
2014-01-30 17:28:49 -08:00
Brian Pitts
a7275aab03 Make SSH for forwarded ports write to /dev/null
If ssh inherits stdout from vagrant, then when you pipe vagrants output
to another program ssh will also use that pipe. The receiving program
will hang waiting on ssh to exit. To make reasoning about things easier,
I have ruby start ssh directly instead of via a shell. Then I have
spawn set stdin/stdout to /dev/null.
2014-01-30 18:37:29 -06:00
Matt Palmer
b31569b9cb Use the MixinSyncedFolders to allow us to comprehend default shared folders implementations 2014-01-31 09:53:48 +11:00
Brian Pitts
8a8ec7bcdb Fix network device creation logic.
Network device creation logic did not properly handle forwarded_ports;
instead it created connections to the management network for each one.
We depended on this in order to have at least one connection to the
management network. This commit explicitly handles the management
network and ignores forwarded ports.
2014-01-30 11:58:29 -06:00
Dmitry Vasilets
4d89c1440e Merge pull request #136 from detiber/fixNFSPrune
Vagrant 1.4+ NFS fixes
2014-01-28 14:02:27 -08:00
Jason DeTiberus
25fe1ea2c2 Cleanup nfs config for Vagrant 1.4+
Fix checks if a synced_folder should be nfs or not

Reorder up and start actions
2014-01-28 16:54:39 -05:00
Ryan Petrello
d3e9188e73 Describe new functionality in the README and fix some coding style issues. 2014-01-24 07:48:00 -08:00
Ryan Petrello
bb5d081789 Add support for port forwarding. 2014-01-23 17:49:09 -08:00
Jason DeTiberus
54408733e0 Update gemspec to not conflict with libvirt-aws and libvirt-openstack-plugin 2014-01-23 13:43:46 -05:00
dima
0fe1798358 released 0.0.14 close #131 2014-01-22 00:34:49 +01:00
Dmitry Vasilets
8fefca0f64 Merge pull request #129 from sciurus/116_and_128
Fixes for 116 and 128
2014-01-20 14:01:04 -08:00
Brian Pitts
04c4d32c5d Add discussion of management network 2014-01-20 15:55:25 -06:00
Brian Pitts
1484a9fb36 Handle network that vagrant created missing when destroy is run. Closes #128 2014-01-20 15:31:01 -06:00
Brian Pitts
6e8c43e300 Create and activate networks if needed when starting VM. Closes #116 2014-01-18 13:03:34 -06:00
dima
2ac0855a1f remove not require return 2014-01-18 10:58:30 +01:00
dima
90a20462c2 Merge branch 'improve_network_robustness' of github.com:sciurus/vagrant-libvirt into sciurus-improve_network_robustness
Conflicts:
	README.md
	lib/vagrant-libvirt/config.rb
2014-01-18 10:55:56 +01:00
Dmitry Vasilets
e204e45e76 Merge pull request #120 from teto/kernel2
Add kernel/initrd/cmd_line directives for the qemu driver
2014-01-18 01:34:40 -08:00
Brian Pitts
c323468d73 Rename default network to management network. Closes #126.
The use of the term default makes discussing this network confusing.
This network must exist and be configured a certain way in order for vagrant
to manage a VMs configuration, so lets call it the management network instead.
2014-01-17 18:56:44 -06:00
Brian Pitts
2377b6b235 Use vagrant-libvirt and 192.168.121.1/24 as default network settings.
Closes #125.
2014-01-17 18:56:32 -06:00
Brian Pitts
da01c0e611 Fix logic for debug output about finding network by ip 2014-01-17 18:24:58 -06:00
Brian Pitts
1aabe66b23 Make network creation thread-safe, closes #104 2014-01-17 18:16:18 -06:00
Brian Pitts
46306503f4 Fail if any existing networks configured to have DHCP do not have it. Relates to #103 and #123. 2014-01-17 17:22:09 -06:00
Brian Pitts
de553d0ea7 Create default network if needed. Relates to #102.
This commit

* renames the option default_network to default_network_name
* introduces the option default_network_address, since we need an
address in order to create a network
* handles creation of the default network similarly to other private
networks if needed
2014-01-17 17:21:13 -06:00
Brian Pitts
01d3f28d0d Remove one branch that can never be taken and comment another that can only be taken in older vagrant 2014-01-12 14:32:09 -06:00
Brian Pitts
c4d758b4e7 Add network debugging output 2014-01-12 14:05:08 -06:00
Dmitry Vasilets
8f19b332b6 Merge pull request #122 from purpleidea/customname
Add provider specific default_prefix option.
2014-01-12 00:53:34 -08:00
James Shubin
0ac7498f4d Add provider specific default_prefix option.
This patch adds support for a provider specific default_prefix option.
When set, this value is used instead of the project's dir name as the
prefix for the machines being created.
2014-01-11 22:31:53 -05:00
Matt
1021833030 Added entries in README.md 2014-01-07 19:33:45 +01:00
Dmitry Vasilets
6ebb73e555 Merge pull request #119 from teto/error_correction
Corrected a wrongly spelled key and added domain_name to the error outpu...
2014-01-07 05:25:47 -08:00
Matt
b4993072a8 Corrected a wrongly spelled key and added domain_name to the error output 2014-01-07 14:08:49 +01:00
Matt
5f0d365c82 Add kernel/initrd/cmd_line directives for the qemu driver 2014-01-07 13:45:57 +01:00
Dmitry Vasilets
9d6f6238bc Merge pull request #118 from sciurus/configurable_disk_bus
Allow changing disk bus
2014-01-06 13:09:06 -08:00
Brian Pitts
facc198ae4 Document setting disk bus 2014-01-06 12:31:49 -06:00
Brian Pitts
f277c1119c Allow changing disk bus 2014-01-06 11:49:07 -06:00
Dmitry Vasilets
14439fe569 Merge pull request #115 from sciurus/guard_vagrant14_nfs_changes
Only use vagrant 1.4 nfs changes when running vagrant 1.4.
2014-01-05 23:37:53 -08:00
Brian Pitts
171feb38cf Only use vagrant 1.4 nfs changes when running vagrant 1.4. 2014-01-05 18:18:42 -06:00
Dmitry Vasilets
c574f7ba34 Merge pull request #114 from sciurus/require_ruby_libvirt
Depend on ruby-libvirt gem since fog does not pull it in
2014-01-05 16:10:37 -08:00