Commit Graph

1168 Commits

Author SHA1 Message Date
Gerben Meijer
ea8e48bc5f Support configurable hypervisor features 2017-03-23 15:20:15 +01:00
dima
43bd92670d Merge branch 'master' of github.com:vagrant-libvirt/vagrant-libvirt 2017-03-21 10:41:31 +01:00
dima
bd9333dff3 temp fix 2017-03-21 10:41:16 +01:00
Dmitry Vasilets
17b6c763e4 Merge pull request #750 from electrofelix/fix-box-package
Use json format when calling qemu-img
2017-03-20 21:18:27 +01:00
Darragh Bailey
1633ec25f1 Use json format when calling qemu-img
Switch from using the default human readable format to request the json
format from qemu-img as this will provide disk sizes in bytes.

This avoids assuming that the returned size is in GigaBytes.

Fixes #743
2017-03-20 13:27:02 +00:00
Dmitry Vasilets
29cb626506 Merge pull request #742 from electrofelix/fix-up-with-provision
Always call provisioners logic for booted machines
2017-03-20 13:25:27 +01:00
Dmitry Vasilets
ea99e07ac1 Merge pull request #749 from waldirio/master
Adding the flag -S in tar command
2017-03-20 08:38:08 +01:00
Waldirio M Pinheiro
80313a2225 Adding the flag -S in tar command 2017-03-20 04:26:52 -03:00
dima
a6d6fb58f3 fix arguments order for nokogiri 2017-03-20 00:41:39 +01:00
dima
1b8e96251f fix for new ruby parser restrictions 2017-03-19 22:14:21 +01:00
Dmitry Vasilets
a43942fb75 Merge pull request #747 from QuintenJohnson/disk-serial
Allow additional disk serial specification
2017-03-16 17:11:56 +01:00
Quinten Johnson
59edda8623 Allow additional disk serial specification
libvirt uses <serial></serial> to expose a disk serial to the VM.
2017-03-16 10:44:07 -05:00
Darragh Bailey
e3354245f6 Always call provisioners logic for booted machines
Allows `vagrant up` command to handle whether or not to run the
provisioners should the machine already be up. This allows re-running
certain provisioners in parallel using:

  vagrant up --provision --provision-with puppet_server

Which in turn allows for certain scripts that are bootstrap related
only to be skipped.

In general however it is better to let the middleware from vagrant
decided whether provisioners should run or not, as enhancements to that
functionality will then be automatically picked up.

With this change if a user runs `vagrant up` on already running
machines, without the `--provision` option they will be greeted with a
message from vagrant stating "Machine already provisioned. Run ...",
basically letting them know what to do next.

Without this change you simply see a message about "Bringing machine
'<name>' up with 'libvirt' provider..." and then nothing further.

Change-Id: I73ca4262abaa6431a838e4cf6468c06223643dea
2017-03-01 13:54:38 +00:00
dima
a1e06dda0a use nokogiri for snapshot xml 2017-02-11 20:02:20 +01:00
dima
e5635f2da2 fixes #734 fixed logic for set nic model type 2017-02-11 14:07:49 +01:00
dima
fe694b4ad2 dry code 2017-02-11 13:02:32 +01:00
dima
f650843246 Merge branch 'master' of github.com:vagrant-libvirt/vagrant-libvirt 2017-02-11 12:52:10 +01:00
dima
fe5938ce26 simplify templates by nokogiri 2017-02-11 12:52:04 +01:00
Dmitry Vasilets
5ed93bd908 Merge pull request #730 from jarrpa/patch-1
Use slot number to report MAC address
2017-02-09 10:30:34 +01:00
dima
d2f4cf5708 xml by nokogiri instead of xml template 2017-02-09 00:07:56 +01:00
Dmitry Vasilets
ff79d5b1f1 Merge pull request #732 from galkindmitrii/master
Allow to specify libvirt NIC driver and number of queues for it.
2017-02-08 20:44:55 +01:00
Dmitry Galkin
6fa527c977 Allow to specify libvirt NIC driver and number of queues for it. 2017-02-08 20:19:49 +01:00
Jose A. Rivera
cd8573777a Allow multiple MACs per network. 2017-02-06 15:13:43 +01:00
Jose A. Rivera
da87d06bfb Cleanup some public network MAC code. 2017-02-06 15:13:43 +01:00
Dmitry Vasilets
9cc0ff906c Merge pull request #728 from msylw/master
Minimum support for xen
2017-02-02 21:17:49 +01:00
Michal Sylwester
07dbb907bd Allow custom name for disk device
This is needed for example for xen in full virtualisation mode
as it won't allow the default vda
2017-02-02 10:02:03 +01:00
Michal Sylwester
ecea549e7f Be tolerant about drivers not supporting listing snapshots 2017-01-30 17:04:46 +01:00
Dmitry Vasilets
c065c1e6e5 test1 2017-01-16 16:40:23 +01:00
Dmitry Vasilets
8e9ae020f1 Merge pull request #723 from knumskull/issue-722
fix issue #722
2017-01-13 14:49:16 +01:00
Steffen Froemer
e3181e10b6 fix issue #722 2017-01-13 13:29:06 +01:00
Dmitry Vasilets
2fe3ede420 Merge pull request #721 from galkindmitrii/master
virtual sound card support
2017-01-12 20:04:36 +01:00
Dmitry Galkin
1248dc43e9 sound_type set to nil if UNSET_VALUE. 2017-01-12 19:58:42 +01:00
Liam Campbell
2f091b1cdc patch to include virtual sound card support 2017-01-12 18:31:44 +01:00
Dmitry Vasilets
cb25d70d7a Merge pull request #720 from knumskull/vagrant-libvirt-smartcard
adding support for smartcard device
2017-01-12 09:56:59 +01:00
Steffen Froemer
639fb240b8 adding support for smartcard device 2017-01-12 09:31:12 +01:00
Dmitry Vasilets
74a5857341 Merge pull request #717 from knumskull/watchdog-support
adding watchdog device support
2017-01-10 13:24:44 +01:00
Steffen Froemer
93cc6fba20 adding watchdog device support
fixed spec file

updated spec file

fixed spec tests
2017-01-10 00:59:40 +01:00
Gerben Meijer
d93fe5b18f Bump QA test version in README 2017-01-09 15:48:38 +01:00
Gerben Meijer
2337c35972 version 0.0.37 2017-01-09 15:47:31 +01:00
Gerben Meijer
75d9a9764d Merge pull request #712 from infernix/qabuildstatus
Update README with QA status table
2016-12-20 14:23:42 +01:00
Gerben Meijer
41762ea66a Update README with QA status table 2016-12-20 14:22:34 +01:00
Dmitry Vasilets
3ec5b24a7a Merge pull request #708 from michalskalski/autostart_networks
Autostart of libvirt networks
2016-12-16 13:27:54 +01:00
Michal Skalski
04b34f8c13 Autostart of libvirt networks
Add option for defining autostart behaviour for mgmt network.
Take into account 'autostart' value for private networks.
Fixes #615
2016-12-16 12:21:30 +01:00
Dmitry Vasilets
f5659c735f Merge pull request #707 from michalskalski/pxe-improvments
Make mgmt network detachable from no box VMs
2016-12-14 20:22:18 +01:00
Michal Skalski
8ef6df014d Make mgmt network detachable from no box VMs
Pxe nodes are not provisioned, mgmt network is not required for them.
Provide new domain option 'mgmt_attach' which one can use to remove mgmt
interface from VM. Default behaviour is not changed.
Also take into account bridge interfaces when set boot order, to support
scenario when we would like to use vagrant VM to pxe boot physical nodes
in existing network.
2016-12-13 21:43:59 +01:00
Dmitry Vasilets
6c5680ab17 Merge pull request #705 from Alveel/readme-fix
Don't run pacman -Sy, simply install with -S instead.
2016-12-09 16:37:41 +01:00
Alwyn Kik
b8286923f9 Don't run pacman -Sy, simply install with -S instead. 2016-12-09 15:26:06 +01:00
dima
8dfe8d5260 add some ipv6 support between vms 2016-12-07 00:40:44 +01:00
dima
c1898be3d6 rubocop 2016-12-06 23:20:29 +01:00
dima
b92b02b6d6 add ability for test pxe in private network 2016-12-06 19:45:27 +01:00