Commit Graph

650 Commits

Author SHA1 Message Date
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
James Johnson
10ebbfaf71 updated the README to reflect changes in pradels/vagrant-libvirt#333 2015-04-10 15:42:35 -05:00
James Johnson
4ddeb77ad5 Pull request was merged into vagrant-libvirt
Merge branch 'feature-libvirt_cdrom'
2015-04-10 15:27:24 -05:00
dima
2c11fc41a1 Merge branch 'master' of github.com:pradels/vagrant-libvirt 2015-04-10 22:23:58 +02:00
Dmitry Vasilets
06624cad1d Merge pull request #333 from d0c-s4vage/feature-libvirt_cdrom
Support for local cdrom storage in vagrant-libvirt
2015-04-10 22:23:22 +02:00
James Johnson
ca6a8cbcf4 use matching indentation when showing CDROM info 2015-04-10 15:09:24 -05:00
James Johnson
e6a4bd4ae0 * fixed indentation (hopefully did not introduce more indentation problems)
* undid extra refactoring
* supports up to four cdroms (hda-hdd)
2015-04-10 15:02:42 -05:00
dima
56cfb971a4 remove not useful link 2015-04-10 18:31:24 +02:00
James Johnson
b31bfb7056 can now add local cdrom storage to a box 2015-04-10 10:24:38 -05:00
dima
5b102cfa34 add short description for box creation script 2015-04-09 08:24:42 +02:00
Dmitry Vasilets
86bc89ee72 Merge pull request #306 from jakobadam/master
Script to create a box out of a qcow2 file.
2015-04-09 08:22:58 +02:00
dima
13fc61b24b add veryisolated option for network. close #324 2015-04-09 08:19:31 +02:00
dima
e0e0da3827 :) 2015-04-09 08:14:08 +02:00
John Beredimas
b7a9abfc16 Allow isolated networks 2015-04-09 08:12:51 +02:00
dima
1d15017381 add information and correct example for bridge. close #330 2015-04-09 07:50:28 +02:00
dima
7f48fca699 typo 2015-04-07 10:07:45 +02:00
Dmitry Vasilets
b4a5f2c039 rescue if version of box not defined 2015-04-06 09:15:17 +02:00