Commit Graph

466 Commits

Author SHA1 Message Date
Patrick Truebe
a2ec37159c Fixed wrong target spec in 9p-fs template 2015-05-15 15:29:20 +02:00
dima
311bdc5f23 add linker trick for installation as gem 2015-05-15 12:38:50 +02:00
dima
c551196411 fix for custom path 2015-05-14 10:06:55 +02:00
dima
07bcb8f5ee Merge branch 'master' of github.com:pradels/vagrant-libvirt 2015-05-13 08:16:16 +02:00
dima
182809e721 improve storage remove process. close #364 2015-05-13 08:16:03 +02:00
Dmitry Vasilets
dbc857381b typo 2015-05-12 09:38:17 +02:00
dima
4a959d5dcf 0.0.28 2015-05-11 19:12:07 +02:00
dima
c1da985934 fix deps 2015-05-11 19:11:28 +02:00
dima
88d9d9025d 0.0.27 2015-05-10 22:17:44 +02:00
dima
c80062dc38 typo 2015-05-10 19:35:20 +02:00
Dmitry Vasilets
4cd1236e9a simplify 2015-05-07 12:38:32 +02:00
Dmitry Vasilets
a51f2eba2f Merge pull request #361 from fxkr/host-ip-option
Add :libvirt_host_ip and :libvirt_dhcp_start/stop
2015-05-07 12:35:53 +02:00
Felix Kaiser
ae37f17de8 Add :libvirt_host_ip and :libvirt_dhcp_start/stop
This allows networks with gateways on addresses other
than .1 (.254 is a popular choice).

Resolves #357.
2015-05-06 21:03:12 +02:00
Dmitry Vasilets
3e79a37ad2 Merge pull request #360 from nsuke/spice-fix
Fix trivial bug where graphics_passwd could not be used with spice
2015-05-06 20:12:13 +02:00
Nobuaki Sukegawa
c5a6fd08f0 Fix trivial bug where graphics_passwd could not be used with spice 2015-05-07 00:52:32 +09:00
Dmitry Vasilets
e31b2ca789 Merge pull request #358 from wileyang/master
Update README.md
2015-05-04 14:12:42 +02:00
Yang Wei
fc0a03bf0e Update README.md
I ran into a trouble, as my box(ubuntu) was *not* installed zlib1g-dev package
by default, so update README.md to hint guys to install this package for
ubuntu/debian system.

Signed-off-by: Yang Wei <w90p710@gmail.com>
2015-05-04 19:44:27 +08:00
Dmitry Vasilets
d107b899c8 Merge pull request #356 from dcbw/dcbw/fix-vm-ip-multiple-leases
Fix retrieving VM IP address if there are multiple leases for the same VM
2015-05-02 08:57:23 +02:00
Dan Williams
6fb57de11e Fix retrieving VM IP address if there are multiple leases for the same VM
If DHCP is used as the addressing mode of the VM it may receive various IP
addresses over time.  Thus dnsmasq can report all these addresses for a single
machine, which gives us:

addresses {:public=>["192.168.121.180\n192.168.121.184\n192.168.121.183\n192.168.121.182"],
  :private=>["192.168.121.180\n192.168.121.184\n192.168.121.183\n192.168.121.182"]}

This causes the most problems when NFS is used as the shared folder mechanism,
as the IP addresses pile up and a malformed /etc/exports is written.  This in
turn causes sequences of vagrant halt / vagrant up to receive read-only NFS
exports due to the bad format:

  # VAGRANT-BEGIN: 1000 d943c68a-330b-4cb8-8711-53506a6c176e
  "/home/user/folder" 192.168.121.52
  192.168.121.51(rw,no_subtree_check,all_squash,anonuid=1000,anongid=1000,fsid=3414715164)
  # VAGRANT-END: 1000 d943c68a-330b-4cb8-8711-53506a6c176e

It appears that Vagrant expects that the value returned by read_ssh_info is
just a single IP address, so pick the first IP address reported by dnsmasq.
2015-05-01 14:14:30 -05:00
dima
4762bf2139 rubocop recomends 2015-05-01 17:50:46 +02:00
dima
2008083923 notification about box removing behaviour 2015-05-01 17:48:43 +02:00
dima
904e4b184f remove stupid code 2015-05-01 17:05:50 +02:00
Dmitry Vasilets
d918f1a214 Merge pull request #347 from strzibny/fix-shutting-down
Wait for libvirt to shutdown the domain
2015-04-21 14:05:31 +02:00
Josef Stribny
cc8aadc9de Wait for libvirt to shutdown the domain
Fixes #293
2015-04-21 13:56:07 +02:00
dima
140a38350a fedora21 image 2015-04-19 11:13:09 +02:00
Dmitry Vasilets
af93dd148f Merge pull request #342 from strzibny/fog-libvirt
Depend on new extracted fog-libvirt gem
2015-04-18 08:10:16 +02:00
Dmitry Vasilets
19a685aa74 Merge pull request #343 from jakobadam/master
Backout on box-creation if image is in use.
2015-04-18 08:07:50 +02:00
Dmitry Vasilets
f211b2799f Merge pull request #344 from jakobadam/patch-3
Update README.md
2015-04-18 08:06:05 +02:00
Jakob Aarøe Dam
46e5d7ba9d Update README.md 2015-04-17 16:47:38 +02:00
Jakob Aarøe Dam
7782113fae Backout on box creation if image is in use. 2015-04-17 16:13:21 +02:00
Josef Stribny
749b431bc8 Depend on new extracted fog-libvirt gem
And depend on ruby-libvirt library through fog-libvirt.
2015-04-17 14:56:31 +02:00
Dmitry Vasilets
bc491d8818 Merge pull request #341 from matt8754/dhcp_bootp
support dhcp bootp settings
2015-04-17 09:17:16 +02:00
Matt Jia
80f8c6b65c support dhcp bootp settings 2015-04-17 16:59:16 +10:00
dima
5c9a712d42 fix detroying order 2015-04-17 08:24:25 +02:00
dima
5ee914a2ef shared volumes creation 2015-04-16 09:27:11 +02:00
dima
a941ddc962 remove volumes logic for shared volumes 2015-04-16 09:12:19 +02:00
dima
17616c2836 Merge branch 'preexisting-disks' of github.com:aspiers/vagrant-libvirt
Conflicts:
	lib/vagrant-libvirt/action/create_domain.rb
2015-04-16 08:16:46 +02:00
dima
d154582c5d 0.0.26 2015-04-15 21:58:12 +02:00
dima
807005afc3 more strict patern for full path 2015-04-15 21:48:29 +02:00
Dmitry Vasilets
ad29a9c788 Merge pull request #337 from jcsalem/ssh_key_path_fix
Fixes for id_ssh_key_file
2015-04-15 21:46:07 +02:00
Jim Salem
e8d1b94ad9 Improve doc for id_ssh_key_file. Do not prepend ~/.ssh/ if the pathname includes a directory 2015-04-15 14:26:21 -04:00
Dmitry Vasilets
f9b799f64b Merge pull request #336 from d0c-s4vage/feature-nic_mac_addresses
implemented nic_mac_addresses capability
2015-04-15 18:28:48 +02:00
dima
0e2c26a33f cleaning,tests preparation 2015-04-15 09:45:29 +02:00
Dmitry Vasilets
c80841943c typo 2015-04-14 22:23:44 +02:00
dima
fa261e79b2 improve format 2015-04-13 17:30:01 +02:00
James Johnson
57c860e884 fixed whitespace nonconformity 2015-04-13 04:18:59 -05:00
James Johnson
c4c8c8afc7 implemented nic_mac_addresses capability 2015-04-13 04:13:12 -05:00
dima
6bde5222c4 Merge branch 'master' of github.com:pradels/vagrant-libvirt 2015-04-11 10:26:48 +02:00
Dmitry Vasilets
5b1f8a85a6 Merge pull request #334 from d0c-s4vage/hotfix-cdrom_readme
Update the README to show the cdrom syntax
2015-04-10 22:47:56 +02:00
James Johnson
b5f267143e invalid syntax in an inline code sample 2015-04-10 15:45:55 -05:00