Brian Pitts
59061dbd43
Handle forward slash in box name
2014-06-08 18:55:18 -05:00
James Shubin
22458d273d
Forward SSH ports <= 1024 using sudo.
...
It would be nice if we used sudo for the command and not as a cache.
2014-05-23 23:15:03 -04:00
Stefan Himpich
d577a67043
Add ability to always set the type of NIC
2014-05-23 13:11:12 +02:00
dima
b808112d95
version 0.0.16
2014-05-11 09:29:09 +02:00
Brian Pitts
60ab03a3b3
Default to kvm domain type
2014-05-10 22:42:38 -05:00
James Shubin
72fbedaaca
Include changes recommended by patch review for multiple disks.
2014-05-06 11:23:15 -04:00
James Shubin
be2042537e
Support for adding additional disks through the Vagrantfile.
...
This patch lets you define multiple additional disks in your
Vagrantfile.
2014-05-06 11:23:15 -04:00
Dmitry Vasilets
f13807614a
Merge pull request #182 from purpleidea/kvm-fix
...
Domain type 'kvm' should be configurable and use qemu:/// uri.
2014-05-06 09:14:47 +02:00
James Shubin
67734f0032
Domain type 'kvm' should be configurable and use qemu:/// uri.
...
Previous versions simply defaulted to 'kvm'. Now that they default to
'qemu', there is typically a 5x performance decrease that makes vagrant
unusably slow.
2014-05-05 18:17:10 -04:00
Brian Pitts
32a3abe412
Verify libvirt version before enabling 9p
2014-05-03 18:11:26 -05:00
Brian Pitts
c52077aa44
Reenable PrepareNFSSettings, closes #180
2014-05-03 12:51:18 -05:00
Brian Pitts
18a4703a24
Do not use 9p by default
2014-05-03 11:09:50 -05:00
Brian Pitts
450fbb6ed1
Replace HandleBoxUrl with HandleBox
2014-05-02 21:28:47 -05:00
Steven Leung
bf79f2a76d
Added cleanup capability for 9p mounts
...
This will allow proper halting, and reloading
2014-04-30 17:17:18 -07:00
dima
b0f9dc95b1
add module 9pnet_virtio
2014-04-28 08:52:12 +02:00
Dmitry Vasilets
2050efd4d0
Merge pull request #175 from mafigit/add_bridge_interface_support
...
Add support for bridge interface type
2014-04-28 08:43:52 +02:00
Dmitry Vasilets
3909f695e8
Merge pull request #176 from stvleung/master
...
Fix destroy in vagrant 1.5.1+
2014-04-28 08:42:11 +02:00
dima
2dd0c0a734
load missed module for 9p
2014-04-28 08:41:36 +02:00
Steven Leung
1d9284934f
Fix destroy in vagrant 1.5.1+
...
Addresses issue pradels/vagrant-libvirt#166
2014-04-16 15:18:25 -07:00
Maximilian Fischer
8eece013eb
Add support for bridge interface type
...
- Example for configuration inside Vagrantfile:
test_vm1.vm.network :public_network, :dev => "br0", :mode => 'bridge',
:type => "bridge", :model_type => "e1000"
2014-04-07 20:51:08 +02:00
dima
6350386764
Merge branch 'read_state_fix' of github.com:keitwb/vagrant-libvirt
...
Conflicts:
lib/vagrant-libvirt/action/read_state.rb
2014-04-01 12:57:57 +02:00
Sergio Jimenez
368643fbaa
Fixed message about required Vagrant version
2014-04-01 00:51:12 +02:00
Sergio Jimenez
84ecab8b9c
Modified ip_command for zsh compatibility
2014-03-29 16:09:02 +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
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
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
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
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
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
Ben Keith
62f767a146
removing pry call
2014-02-17 11:20:36 -05:00
Ben Keith
e31815abe5
referencing source of error codes
2014-02-17 11:06:34 -05:00
Ben Keith
cd932436e8
More specific error handling if domain not found
...
- Adding error codes from libvirt (rubified from
http://libvirt.org/html/libvirt-virterror.html#virErrorNumber )
- Removing unnecessary check for nil server
2014-02-17 10:57:00 -05: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
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
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
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
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