Merge pull request #1123 from cvoltz/wwn

Add WWN support
This commit is contained in:
Darragh Bailey
2020-08-16 19:49:15 +01:00
committed by GitHub
3 changed files with 6 additions and 1 deletions

View File

@@ -604,7 +604,8 @@ module VagrantPlugins
cache: options[:cache] || 'default',
allow_existing: options[:allow_existing],
shareable: options[:shareable],
serial: options[:serial]
serial: options[:serial],
wwn: options[:wwn]
}
@disks << disk # append

View File

@@ -129,6 +129,9 @@
<% if d[:serial] %>
<serial><%= d[:serial] %></serial>
<% end %>
<% if d[:wwn] %>
<wwn><%= d[:wwn] %></wwn>
<% end %>
<%# this will get auto generated by Libvirt
<address type='pci' domain='0x0000' bus='0x00' slot='???' function='0x0'/>
-%>