Fix other_config.disks XML generation.

This commit is contained in:
Julien Fontanet 2015-06-11 16:44:14 +02:00
parent 7148fec6e1
commit db97787b15

View File

@ -478,7 +478,7 @@ export default class Xapi extends XapiBase {
if (vdis.length) {
const vdisXml = formatXml({
provisition: {
disks: map(vdis, vdi => {
disk: map(vdis, vdi => {
const bootable = String(Boolean(vdi.bootable))
const size = String(vdi.size)
const sr = vdi.sr || vdi.SR