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.
* 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
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.
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.
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.
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
* Add USB controller configuration
* Update README with USB controller configuration info
* Rename USB controller parameter to usb_controller
* Code style fixup
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