Commit Graph

1022 Commits

Author SHA1 Message Date
Darragh Bailey
3d0080b6a4
Merge pull request #970 from pravi/patch-1
Update fog-core to latest version
2019-02-18 19:05:40 +00:00
Pirate Praveen Arimbrathodiyil
44a760f668 Update fog-core to latest version
fog-core 2.x is released and we'd like to use it in debian
2019-02-18 18:30:44 +01:00
Darragh Bailey
4d2c26a926
Merge pull request #895 from mattandersen/default-forward-all-nics
Default Port Forwarding to All Host Addresses
2019-02-18 12:19:28 +00:00
Darragh Bailey
c02905be14
Merge pull request #885 from brianjmurrell/patch-1
Don't add _ after user defined default_prefix
2019-02-13 15:24:42 +00:00
Darragh Bailey
49410aaf0e
Merge pull request #941 from evgeni/management-domain
add domain name for the management network
2019-02-13 15:20:10 +00:00
Darragh Bailey
dc8eb5a33e
Merge pull request #769 from jcf/upgrade-nokogiri
Use the same version of Nokogiri as Vagrant
2019-02-13 14:56:27 +00:00
Evgeni Golov
53539f6ad4 add domain name for the management network
this allows users to have a dedicated domain for their vagrant VMs and
point their regular resolver at the libvirt dnsmasq for that domain to
make them reachable by a full name instead of the IP when accessing the
services on said VM.

an example for such a setup can be found in [1] and [2]

[1] https://liquidat.wordpress.com/2017/03/03/howto-automated-dns-resolution-for-kvmlibvirt-guests-with-a-local-domain/
[2] https://m0dlx.com/blog/Automatic_DNS_updates_from_libvirt_guests.html
2019-02-13 15:51:26 +01:00
James Conroy-Finn
429b236087 Use the same version of Nokogiri as Vagrant 2019-02-13 14:51:23 +00:00
Darragh Bailey
e7cb0fe00f
Merge pull request #971 from crimsun/fixes-grammar
Updated Libvirt-based Vagrant box search reference and edited names for consistency
2019-02-13 14:14:44 +00:00
Darragh Bailey
549556d839
Merge pull request #972 from electrofelix/fix-tests
Handle rubygems >= 3 dropping support for ruby < 2.3.0
2019-02-13 13:06:02 +00:00
Darragh Bailey
abc2c65b04 Handle rubygems >= 3 dropping support for ruby < 2.3.0
Rubygems releases >= 3 have removed support for older versions of ruby
(<2.3). While testing with distributions with older versions of ruby
make sure to use the conservative install method as suggested from
https://github.com/rubygems/rubygems/issues/2534#issuecomment-448843746
2019-02-13 12:56:32 +00:00
Daniel T Chen
41e5b2f362 Updated Libvirt-based Vagrant box search reference and edited names for consistency 2019-02-11 20:18:02 -05:00
Darragh Bailey
4b8f274957
Merge pull request #964 from pxsloot/master
prepare_nfs_settings.rb: check for 'ssh' service to see if guest network interface is up
2019-01-29 15:18:30 +00:00
Peter Slootweg
c1d2144ec2 check for 'ssh' service to see if interface is up
the 'echo' service is often not available out-of-the-box,
so the 'ping' of the ssh interface fails. This results in the
wrong ip addresses being used in /etc/exports, which results in
the vm not being able to mount the vagrant shares.

The 'vagrant ssh interface' will have the service 'ssh' available
(you won't be able to login to your vagrant box else), so it makes
sense to use that service for the ping.

This fixes the vm not being able to mount the shares over nfs after
a reload due to the wrong ip addresses being used.
2019-01-17 09:38:34 +01:00
Michael Ablassmeier
d5ba63d413 #952 : support different storage pool for base box snapshot (#953) 2018-12-04 17:43:38 +01:00
Vít Ondruch
5f7841ffff Revert back to development version of .gemspec file. (#929)
This reverts commit 34a0def7d1, because it
seems to be completely accidental change, when the file was overridden by
Bundler or so.
2018-12-02 22:56:50 +01:00
Darragh Bailey
a725092ee9
Merge pull request #883 from pennsignals/fix/clean-forwarded-ports-darwin
Use ps keyword `command` instead of `cmd`
2018-11-27 19:19:47 +00:00
Darragh Bailey
00e64a438a
Merge pull request #889 from dabreese00/david
README (Debian install): Don't autorun dnsmasq
2018-11-27 19:17:42 +00:00
Darragh Bailey
e0a54d2f08
Merge pull request #908 from bobthebutcher/docs-update
add default_prefix domain option docs
2018-11-27 19:15:06 +00:00
Darragh Bailey
4b85d12bae
Merge pull request #884 from anton-dessiatov/configure_networks
Only use 'configure_networks' capability if there actually are networks to be configured
2018-11-27 18:30:29 +00:00
Darragh Bailey
18eb8d8d02
Merge pull request #935 from chrisroberts/fix/ssh-control-master
Include `-n` option for forwarded port ssh processes
2018-11-06 12:53:00 +00:00
Chris Roberts
e968de7269 Include -n option for forwarded port ssh processes
In configurations where ControlMaster is used with ControlPersist
set, not including this option results in "stolen" input.
2018-11-05 15:41:23 -08:00
David Scaife
816d344f03 README - Reorganise and clarify USB usage (#934)
* readme: usb: keep usb-related sections together

* readme: usb: add link for usb device passthrough section

* readme: usb: add general info about usb usage

* readme: usb: place libvirt doco link after vagrantfile example

* readme: usb: add note about enabling spice redirection
2018-11-04 09:07:40 +01:00
dima
6eedaea0ce 0.0.45 2018-10-23 11:19:27 +02:00
dima
57ed83c46d 0.0.44 2018-10-23 11:14:17 +02:00
Darragh Bailey
e696032deb
Merge pull request #909 from davidscaife/redirfilter
Fix USB redirfilter parameter configuration
2018-08-18 12:19:28 +01:00
David Scaife
e46b0d3d8a USB: Fix redirfilter parameter configuration 2018-08-14 20:40:09 +10:00
David Scaife
019f43d32d USB: Fix redirfilter template test 2018-08-14 20:38:55 +10:00
Brad Searle
7466b8e026 add default_prefix domain option docs 2018-08-12 10:00:34 +10:00
Matthew Andersen
24b12af31a Default Port Forwarding to All Host Addresses
Change the default scope of port forwarding from localhost to all host
devices.
2018-05-21 22:33:18 -07:00
David Breese
7c436b42c3 README (Debian install): Don't autorun dnsmasq
Current install instructions for Debian/Ubuntu install the package
"dnsmasq", which results in dnsmasq being immediately started and
configured to run as a system service.  This is probably not something
vagrant-libvirt users typically want.

Instead, package "dnsmasq-base" exists, which achieves precisely what is
probably desired here.
2018-05-07 00:16:06 -05:00
Brian J. Murrell
2cfec56325
Update unit test for building simple domain name
Make the unit test match the new requirement that if a _ postfix is desired
when default_prefix is defined, then it must be added to the default_prefix.
2018-04-18 10:59:19 -04:00
Brian J. Murrell
9f203f75a2
Don't add _ after user defined default_prefix
Forcing an underscore between a defined default_prefix and the machine name
forces a naming format that the user might not want.

If they define their own default_prefix and want an underscore between that and
the machine name, they can/should add the underscore to the default_prefix.
2018-04-18 10:51:30 -04:00
Anton Dessiatov
8ba4865e0a Request 'configure_networks' capability only if there actually are networks to configure 2018-04-18 15:06:29 +07:00
jasonwalsh
45b588d7da
Use ps keyword command instead of cmd
For Darwin operating systems, `cmd` is not a valid keyword, thus
resulting in the following error when executing Vagrant `reload` and
`destroy` commands:

    ps: cmd: keyword not found
    ps: no valid keywords; valid keywords:

This commit ensures that SSH sessions for forwarded ports are
terminated via their respective process ID for Darwin *and* Linux
operating systems.

Both Darwin and Linux operating systems support the `command` keyword,
as reflected in the following documents, respectively:

- https://apple.co/2H7jFwl
- https://bit.ly/2HakfW0
2018-04-17 18:25:29 -04:00
Darragh Bailey
39f9a9d0b4
Merge pull request #882 from b1-systems/translation/libvirt
Added missing translation string
2018-04-17 14:02:35 +01:00
Tobias Wolter
fce3bb3cdd Added missing translation string
Fixes messages like:
```
==> default: translation missing: en.vagrant_libvirt.package_domain
```
2018-04-16 23:50:08 +02:00
Antonio Huete Jimenez
6bdff043a7 Allow specifying Hypervisor HyperV features (#870) 2018-03-21 19:00:28 +01:00
Michael Shulbaev
92dc692b08 Fix for :public_network and :private_network in the same VM (#872)
* Clean properties between use. Fixes #842

* Remove empty log line
2018-03-19 13:08:51 +01:00
David Scaife
60e93d4925 USB controller configuration (#861)
* Add USB controller configuration

* Update README with USB controller configuration info

* Rename USB controller parameter to usb_controller

* Code style fixup
2018-03-18 09:25:01 +01:00
dima
c3e46a1f23 typo 2018-03-17 14:28:23 +01:00
dima
9724901ed1 Merge branch 'qazokm-qemu-session-support' 2018-03-17 14:26:32 +01:00
dima
99371fee2b bug fixes for qemu_use_session 2018-03-17 14:26:13 +01:00
dima
29ce8443b1 Merge branch 'qemu-session-support' of git://github.com/qazokm/vagrant-libvirt into qazokm-qemu-session-support 2018-03-17 13:51:29 +01:00
Dmitry Vasilets
48599ddfc6
Merge pull request #869 from Rommelag/libvirt_nvram_support
QEMU libvirt nvram support
2018-03-17 13:48:48 +01:00
Dmitry Vasilets
ed1a676982
Merge pull request #871 from anastasiiavlaskina/master
Remove nested section in domain template
2018-03-09 18:06:46 +01:00
Anastasiia
d05690d269 Merging svm and vmx cpu_features parameters 2018-03-09 18:01:48 +01:00
Anastasiia
6f45f107c9 Remove nested section in domain template 2018-03-05 17:39:29 +01:00
Tamara Herzog
64a076468e QEMU libvirt nvram support
Some UEFI firmwares may want to use a non-volatile memory to store
variables.
This requires to specify loader and nvram to use UEFI boot in QEMU.
Specifying loader and nvram at the same time will set loader to
type 'pflash' instead of 'rom'.
If loader is used without nvram option type will remain 'rom'.

Further information can be found at libvirt documentation:
https://libvirt.org/formatdomain.html#elementsOS
2018-03-02 11:59:14 +01:00
Nicholas
066e03f16d
Update README for QEMU Sesssion Support 2018-02-25 12:43:07 +08:00