Is it possible to assign a raw disk? #1261
Unanswered
windowsrefund
asked this question in
Q&A
Replies: 1 comment 6 replies
-
@windowsrefund not as it currently stands. Basically vagrant-libvirt is taking the additional disks and iterating over the using the template at https://github.com/vagrant-libvirt/vagrant-libvirt/blob/master/lib/vagrant-libvirt/templates/domain.xml.erb#L128-L152. No reason that couldn't be updated to support additional options, would need some adjustment to ensure defaults applied for the current standard approach of adding disks, or if support for a callback was added for amending the domain XML before creating the domain so anything could be added as needed by consumers it would probably make fulfilling any custom requirements such as this possible. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've read through the documentation but am still not clear on whether it will be possible to assign a raw disk. Before considering Vagrant, I was able to achieve this by editing my node's XML (where <UNIQUE_ID> represents a unique disk on my system...
Basically, the node sees and can use /dev/vdb which is the unique raw disk. Thanks in advance for any assistance.
Beta Was this translation helpful? Give feedback.
All reactions