mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Customising libvirt settings can only be done when creating a box #418
* Fixed regression when using additional disks. Now disk_bus setting applies only to main disk. * Added ability to change additional disk bus on reload. Updated readme. Task-Url: https://github.com/pradels/vagrant-libvirt/issues/418 Signed-off-by: Max Kutsevol <max@coolvds.com>
This commit is contained in:
@@ -25,6 +25,7 @@ welcome and can help a lot :-)
|
||||
- [Public Network Options](#public-network-options)
|
||||
- [Management Network](#management-network)
|
||||
- [Additional Disks](#additional-disks)
|
||||
- [Reload behavior](#reload-behavior-1)
|
||||
- [CDROMs](#cdroms)
|
||||
- [Input](#input)
|
||||
- [No box and PXE boot](#no-box-and-pxe-boot)
|
||||
@@ -455,6 +456,12 @@ Vagrant.configure("2") do |config|
|
||||
end
|
||||
```
|
||||
|
||||
### Reload behavior
|
||||
|
||||
On vagrant reload the following additional disk attributes are updated in defined domain:
|
||||
|
||||
* `bus` - Updated. Uses `device` as a search marker. It is not required to define `device`, but it's recommended. If `device` is defined then the order of addtitional disk definition becomes irrelevant.
|
||||
|
||||
## CDROMs
|
||||
|
||||
You can attach up to four (4) CDROMs to a VM via `libvirt.storage :file, :device => :cdrom`. Available options are:
|
||||
|
||||
Reference in New Issue
Block a user