Commit Graph

947 Commits

Author SHA1 Message Date
Nicholas Brown
dea85d7cbc Don't silently ignore udp port forwarding option
Currently it ignores the option and turns it into a tcp port.
Instead warn about the UDP option and skip it.
2018-02-02 13:03:23 +00:00
Gerben Meijer
11eebbc05a
Merge pull request #855 from jjlakis/mac_readme
Add management_network_mac to README
2018-01-30 15:27:41 +01:00
Jacek J. Łakis
edc334682a Add management_network_mac to README 2018-01-30 15:24:13 +01:00
Dmitry Vasilets
6fdbf4b818
Merge pull request #827 from petracvv/memoryBacking
Add memory backing configuration
2017-12-11 17:04:47 +01:00
Dmitry Vasilets
ebbeddce20
Merge pull request #820 from Ntr0/master
Add mtu option for private networks and interfaces.
not tested mtu, but old behaviour not changed
2017-12-11 17:03:10 +01:00
Christian
9deac08775 Convert mtu to integer
This will obviously raise an exception if the data is not
convertable. Seems to be the best option, since to_i converts
'non-integer' strings to zero, which would lead to unpredicable
behaviour.
2017-12-09 11:36:52 +01:00
Christian
a97a6d2347 Add mtu option for private networks and interfaces
In order to create virtual networks with different MTU sizes
than the libvirt default of 1500, this patch adds a
libvirt__mtu option. This will add an mtu option to the libvirt
network definition and to the domain interface definition as well.
2017-12-08 12:42:06 +01:00
Gerben Meijer
0af2568475
Merge pull request #838 from ableischwitz/master
Fix for #831
2017-11-29 11:44:32 +01:00
Andreas Bleischwitz
bef59efe6b added spicevmc channel to domain_all_settings.xml and domain_spec.rb 2017-11-28 18:23:47 +01:00
Andreas Bleischwitz
a64c538f7f made <source>...</source> and it's sub-elements conditional 2017-11-28 18:22:40 +01:00
Gerben Meijer
57db358a58
Merge pull request #833 from hugoboos/domain-name
Add network domain name feature
2017-11-28 10:51:38 +01:00
Gerben Meijer
5efc0b2b38
Merge pull request #824 from skamithi/vagrant_guest_halt_capability
add Vagrant Guest Halt capability to vagrant-libvirt
2017-11-26 07:37:50 +01:00
Hugo Stijns
f59a99c684 Possible to define domain name for networks 2017-11-24 15:52:49 +01:00
Gerben Meijer
3984929ddb Fix spec for vnc autoport 2017-11-24 11:31:01 +01:00
Gerben Meijer
edb1ff6c5b Update table due to newer jenkins 2017-11-23 18:06:12 +01:00
Gerben Meijer
852ae604b5 Update QA table 2017-11-23 17:41:15 +01:00
Gerben Meijer
d28214c731 CI against vagrant 2.0.1 2017-11-23 13:06:54 +01:00
Gerben Meijer
05771432df
Merge pull request #794 from heil/master
Use dynamic vnc port allocation
2017-11-23 12:45:59 +01:00
Gerben Meijer
e55c927728
Merge pull request #814 from ntff/20170914_issue796
update to the recent changes of default behavior in netcat.openbsd (fixes #796)
2017-11-23 12:43:16 +01:00
Gerben Meijer
0c46bcd182
Merge pull request #815 from dmeloni-radarservices/ssh-terminate
Use exec to avoid leaving ssh lingering around
2017-11-23 12:42:38 +01:00
Gerben Meijer
0254c18153
Merge pull request #822 from Flowm/ask-before-destroy
Ask for confirmation before destroying vms
2017-11-23 12:38:21 +01:00
Gerben Meijer
86daf70a56
Merge pull request #835 from hugoboos/network-address-dhcp
Add option to configure the network address when using DHCP
2017-11-23 12:24:42 +01:00
Hugo Stijns
b00816680a Add option to configure the network address when using DHCP 2017-11-23 10:21:25 +01:00
Gerben Meijer
9bff74d77e
Merge pull request #832 from hugoboos/github-organization
Vagrant moved to the hashicorp GitHub organization
2017-11-21 12:31:43 +01:00
Hugo Stijns
2f9ce15487 Vagrant moved to the hashicorp GitHub organization 2017-11-21 10:05:49 +01:00
Gerben Meijer
8e19c43845
Merge pull request #819 from petRUShka/patch-1
[Documentation] Add links for understanding 9p
2017-11-15 00:35:11 +01:00
Mihai Petracovici
77358b63ea Add memory backing configuration 2017-11-12 16:25:13 -06:00
stanley karunditu
d3af858425 add Vagrant Guest Halt capability to vagrant-libvirt. Reference
[Builtin Guest Halt
capability](https://github.com/hashicorp/vagrant/blob/master/lib/vagrant/action/builtin/graceful_halt.rb#L50)
2017-11-03 11:23:06 -04:00
Florian Mauracher
89d2f0250f Ask for confirmation before destroying vms
Unify behavior across providers by asking for confirmation before
deleting virtual machines with potentially valuable data.

Before destroying a vm the following message is presented:
`demo: Are you sure you want to destroy the 'demo' VM? [y/N]`
An additional --force flag provided by upstream vagrant allows skipping
the `vagrant destroy demo -f`

Practically all other providers available ask the user for confirmation
before deleting the vm.

Vagrant official providers:
https://github.com/hashicorp/vagrant/blob/master/plugins/providers/docker/action.rb#L156
https://github.com/hashicorp/vagrant/blob/master/plugins/providers/hyperv/action.rb#L34
https://github.com/hashicorp/vagrant/blob/master/plugins/providers/virtualbox/action.rb#L100

Third party providers:
https://github.com/mitchellh/vagrant-aws/blob/master/lib/vagrant-aws/action.rb#L45
https://github.com/Azure/vagrant-azure/blob/v2.0/lib/vagrant-azure/action.rb#L34
https://github.com/jesa7955/vagrant-bhyve/blob/master/lib/vagrant-bhyve/action.rb#L156
https://github.com/NeilW/vagrant-brightbox/blob/master/lib/vagrant-brightbox/action.rb#L44
https://github.com/devopsgroup-io/vagrant-digitalocean/blob/master/lib/vagrant-digitalocean/actions.rb#L27
https://github.com/fgrehm/vagrant-lxc/blob/master/lib/vagrant-lxc/action.rb#L148
https://github.com/Parallels/vagrant-parallels/blob/master/lib/vagrant-parallels/action.rb#L48
2017-10-29 00:20:28 +02:00
petRUShka
42c29ae17e [Documentation] Add links for understanding 9p
There is lack of documentation on 9p so it could be useful to extend that part of docs with some links.
2017-10-14 12:59:36 +03:00
Dario Meloni
2b37f931b5
Use exec to avoid leaving ssh lingering around 2017-09-15 09:47:47 +02:00
ntff@github
c902b2da7c update to the recent changes of default behavior in netcat.openbsd
netcat.openbsd, mostly used on libvirt servers (libvirt debian daemon
depends on netcat.openbsd) has changed (revision 1.111)
it's default behavior - it no more closes connection when stdin closes
by default. They suggest using "-N" flag for turning on former
behavior, but looks like "-q0", which is common with earlier versions
and netcat.traditional, will also work.
2017-09-14 14:19:26 +00:00
Darragh Bailey
c8a2ed8f34 Merge pull request #800 from homeski/feature/numa_nodes
Feature/numa nodes
2017-08-17 21:24:20 +01:00
Homero Pawlowski
ebd2cb48d0 refactored to only iterate numa_nodes array once 2017-08-17 15:43:46 -04:00
Homero Pawlowski
26b3e3c8fe automatically insert numa_cpus[:id] based on array index, and remove user's ability to edit 2017-08-16 11:50:29 -04:00
Gerben Meijer
32dca0a259 Merge pull request #805 from infernix/travisupdate
Fix travis and update rspec-core
2017-08-16 14:57:38 +02:00
Gerben Meijer
c2b6c54df6 Bump rspec-core to 3.5.0 2017-08-16 14:28:46 +02:00
Gerben Meijer
4be8799a90 Use trusty for Travis 2017-08-16 12:49:11 +02:00
Homero Pawlowski
8bf16ba34f added some validation around @numa_nodes[:cpus] values 2017-08-15 17:02:06 -04:00
Homero Pawlowski
10ed9fbc7e added back block to remove nested cpu elements if host-passthrough is set, UNLESS numa_nodes is set 2017-08-11 16:27:28 -04:00
Gerben Meijer
a3e7e33103 Merge pull request #802 from infernix/travisupdate
Bring travis up to speed with latest vagrant
2017-08-03 18:41:53 +02:00
Gerben Meijer
16a2a20388 Bring travis up to speed with latest vagrant
- Fix gemfile sourced twice issue: https://github.com/bundler/bundler/issues/5263
- Use latest vagrant-spec
- Fix travis gem issue "no implicit conversion of nil into String"
2017-08-03 18:31:31 +02:00
Gerben Meijer
46eddc9f2c Merge pull request #801 from infernix/master
Since it's never updated, remove changelog
2017-08-03 17:25:06 +02:00
Gerben Meijer
50c918c195 Since it's never updated, remove changelog
Git log is the new changelog.
2017-08-03 17:18:36 +02:00
Gerben Meijer
8b33e14338 Merge pull request #778 from ericpulvino/port-fwd-readme-fix
Enhancing portion of the README pertaining to Port Forwards
2017-08-03 17:00:23 +02:00
Gerben Meijer
4a69c58e3c Merge pull request #787 from mkhon/fix-start
Do not destroy domain when starting existing domain
2017-08-03 16:56:21 +02:00
Gerben Meijer
a72f2571fb Merge pull request #793 from paravz/syntax-fix
syntax fix for dev name type: netwrok -> network
2017-08-03 16:44:08 +02:00
Homero Pawlowski
45e41e2e10 README change 2017-08-02 01:16:40 -04:00
Homero Pawlowski
4f5351ab1d README change 2017-08-02 01:11:13 -04:00
Homero Pawlowski
cd4d9739b4 fixed README typo 2017-08-02 01:09:59 -04:00