mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
volume-upload: tempalates > upload template from local > format dropdown > include OVA, VMDK, BareMetal, TAR, VHDX option.
This commit is contained in:
parent
eb180b131d
commit
573a4b1e43
@ -791,12 +791,10 @@
|
||||
description: 'VHD'
|
||||
});
|
||||
} else if (args.hypervisor == "VMware") {
|
||||
/*
|
||||
items.push({
|
||||
id: 'OVA',
|
||||
description: 'OVA'
|
||||
});
|
||||
*/
|
||||
} else if (args.hypervisor == "KVM") {
|
||||
items.push({
|
||||
id: 'QCOW2',
|
||||
@ -810,48 +808,40 @@
|
||||
id: 'VHD',
|
||||
description: 'VHD'
|
||||
});
|
||||
/*
|
||||
items.push({
|
||||
id: 'VMDK',
|
||||
description: 'VMDK'
|
||||
});
|
||||
*/
|
||||
} else if (args.hypervisor == "BareMetal") {
|
||||
/*
|
||||
} else if (args.hypervisor == "BareMetal") {
|
||||
items.push({
|
||||
id: 'BareMetal',
|
||||
description: 'BareMetal'
|
||||
});
|
||||
*/
|
||||
} else if (args.hypervisor == "Ovm") {
|
||||
items.push({
|
||||
id: 'RAW',
|
||||
description: 'RAW'
|
||||
});
|
||||
} else if (args.hypervisor == "LXC") {
|
||||
/*
|
||||
} else if (args.hypervisor == "LXC") {
|
||||
items.push({
|
||||
id: 'TAR',
|
||||
description: 'TAR'
|
||||
});
|
||||
*/
|
||||
} else if (args.hypervisor == "Hyperv") {
|
||||
items.push({
|
||||
id: 'VHD',
|
||||
description: 'VHD'
|
||||
});
|
||||
/*
|
||||
items.push({
|
||||
id: 'VHDX',
|
||||
description: 'VHDX'
|
||||
});
|
||||
*/
|
||||
}
|
||||
args.response.success({
|
||||
data: items
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
osTypeId: {
|
||||
label: 'label.os.type',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user