Commit Graph

217 Commits

Author SHA1 Message Date
Dmitry Vasilets
6cece4fe30 Merge pull request #172 from tripledes/zsh_compat
Modified ip_command for zsh compatibility
2014-03-29 21:53:28 +01:00
Sergio Jimenez
84ecab8b9c Modified ip_command for zsh compatibility 2014-03-29 16:09:02 +01:00
Dmitry Vasilets
489e096227 Merge pull request #170 from teto/virtfs
Add 9p (virtfs) support to vagrant-libvirt.
2014-03-23 20:08:51 +01:00
Matthieu Coudron
8d4f16a3f8 Merge branch 'virtfs' of github.com:teto/vagrant-libvirt into virtfs 2014-03-16 11:38:35 +01:00
Matthieu Coudron
7ae9e03c5d 9p support for vagrant 1.5 2014-03-16 11:36:23 +01:00
Matthieu Coudron
aad1bd438d 9p support for vagrant 1.5 2014-03-16 11:22:22 +01:00
Matthieu Coudron
f9aa5a8e76 Updated gemfile to let vagrant load plugin in the 1.5 fashion 2014-03-16 10:52:10 +01:00
Dmitry Vasilets
49360ffe33 Merge pull request #169 from sciurus/timed_provision
Use Vagrant's default provision action
2014-03-16 08:18:55 +01:00
Dmitry Vasilets
29bf8b26d8 Merge pull request #168 from teto/set_socket_path
Added an option to set the path to the libvirt socket
2014-03-16 08:18:26 +01:00
Dmitry Vasilets
2d088d43df Merge pull request #167 from teto/fixes
Fixes
2014-03-16 08:17:36 +01:00
Brian Pitts
99d6e7de45 Use Vagrant's default provision action 2014-03-15 20:36:23 -05:00
Matthieu Coudron
97140039bd Added an option to set the path to the libvirt socket 2014-03-16 01:27:29 +01:00
Matthieu Coudron
29efbf77d7 Catches the following exception to prevent stack from being displayed:
Bringing machine 'default' up with 'libvirt' provider...
/home/teto/vagrant-libvirt/vendor/bundle/ruby/1.9.1/gems/fog-1.20.0/lib/fog/libvirt/models/compute/volume.rb:84:in `default_pool_name': No storage pools are defined (Fog::Errors::Error)
    from /home/teto/vagrant-libvirt/vendor/bundle/ruby/1.9.1/gems/fog-1.20.0/lib/fog/libvirt/models/compute/volume.rb:33:in `initialize'
    from /home/teto/vagrant-libvirt/vendor/bundle/ruby/1.9.1/gems/fog-1.20.0/lib/fog/core/collection.rb:114:in `new'
2014-03-16 01:21:37 +01:00
Matthieu Coudron
10c3ede74a Catches fog exception when machine could not be found 2014-03-16 01:20:00 +01:00
Dmitry Vasilets
135e480aef Merge pull request #165 from ekohl/assume-nfs-default
Only rsync if the type is set to rsync
2014-03-11 19:19:13 +01:00
Ewoud Kohl van Wijngaarden
cf2616823c Only rsync if the type is set to rsync
Since the default of vagrant-libvirt is now NFS even in case the type is
empty, rsync should only be called if the type is explicitly set to
rsync.
2014-03-11 18:40:38 +01:00
Dmitry Vasilets
da1eb526f5 Merge pull request #161 from maishsk/patch-1
Update connect_libvirt.rb
2014-03-09 20:32:25 +01:00
Maish
f9e6fd9024 Update connect_libvirt.rb
Added an escape character to the connect string - since it was not escaped the connection URI was cut off after "?noverify=1"
2014-03-09 16:24:01 +02:00
Dmitry Vasilets
8fb2c651bb Merge pull request #157 from kalabiyau/patch-1
drop version number from README.md
2014-02-24 17:25:13 +01:00
Artem Chernikov
0a68f475a4 drop version number from README.md
As it is valid assumption that readme reflex real situation - there is no need to explicitly state plugin number
2014-02-24 17:24:22 +01:00
Dmitry Vasilets
22314ec440 Merge pull request #156 from crealytics/xen_support
Small fixes on the way to Xen support
2014-02-20 17:41:18 +01:00
Martin Mauch
e382687089 Read driver from config instead of hard-coding to kvm. 2014-02-20 00:59:06 +01:00
Martin Mauch
84d1f8380d Make a dup in order not to modify driver string. 2014-02-20 00:58:21 +01:00
Dmitry Vasilets
22294a9a74 Merge pull request #150 from keitwb/port_forward_fix
Using ssh info directly without shelling out
2014-02-07 17:09:31 +01:00
Ben Keith
67eae75c98 Using ssh info directly without shelling out
- The `vagrant ssh_config` command was including the `Host` option, which for
  OpenSSH_6.5p1 at least is throwing an error:
  ```
  Host directive not supported as a command-line option
  ```

- Also changing the local bind_address in the ssh command to 'localhost'
  instead of '0.0.0.0' in order to not expose the VM to other hosts on the host
  machine's network.  If this is desired, then the user can manually override
  it in the Vagrantfile config for port forwarding.
2014-02-07 09:42:08 -05:00
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
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