[DRE-commits] [vagrant-libvirt] 150/163: updated the README to reflect changes in pradels/vagrant-libvirt#333
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Apr 24 13:57:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to annotated tag 0.0.26
in repository vagrant-libvirt.
commit 10ebbfaf71d5ae5eb998bee87c668ac0d3cf6cd8
Author: James Johnson <james.johnson at accuvant.com>
Date: Fri Apr 10 15:42:35 2015 -0500
updated the README to reflect changes in pradels/vagrant-libvirt#333
---
README.md | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/README.md b/README.md
index cc0b11b..1f76837 100644
--- a/README.md
+++ b/README.md
@@ -313,6 +313,26 @@ Vagrant.configure("2") do |config|
end
```
+## CDROMs
+
+You can attach up to four (4) CDROMs to a VM via `libvirt.storage :file, device: cdrom`. Available options are:
+
+* `path` - The path to the iso to be used for the CDROM drive.
+* `dev` - The device to use (`hda`, `hdb`, `hdc`, or `hdd`). This will be automatically determined if unspecified.
+* `bus` - The bus to use for the CDROM drive. Defaults to `ide`
+
+The following example creates three CDROM drives in the VM:
+
+```ruby
+Vagrant.configure("2") do |config|
+ config.vm.provider :libvirt do |libvirt|
+ libvirt.storage :file, :device => :cdrom, :path => '/path/to/iso1.iso'
+ libvirt.storage :file, :device => :cdrom, :path => '/path/to/iso2.iso'
+ libvirt.storage :file, :device => :cdrom, :path => '/path/to/iso3.iso'
+ end
+end
+```
+
## SSH Access To VM
vagrant-libvirt supports vagrant's [standard ssh settings](https://docs.vagrantup.com/v2/vagrantfile/ssh_settings.html).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git
More information about the Pkg-ruby-extras-commits
mailing list