mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable.
This commit is contained in:
parent
76528f37f1
commit
54b89c78d8
@ -121,7 +121,7 @@
|
|||||||
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL("listIsos&isofilter=featured&zoneid="+args.currentData.zoneid),
|
url: createURL("listIsos&isofilter=featured&zoneid=" + args.currentData.zoneid + "&bootable=true"),
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
async: false,
|
async: false,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
@ -129,7 +129,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL("listIsos&isofilter=community&zoneid="+args.currentData.zoneid),
|
url: createURL("listIsos&isofilter=community&zoneid=" + args.currentData.zoneid + "&bootable=true"),
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
async: false,
|
async: false,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
@ -137,24 +137,14 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL("listIsos&isofilter=selfexecutable&zoneid="+args.currentData.zoneid),
|
url: createURL("listIsos&isofilter=selfexecutable&zoneid=" + args.currentData.zoneid + "&bootable=true"),
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
async: false,
|
async: false,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
myIsoObjs = json.listisosresponse.iso;
|
myIsoObjs = json.listisosresponse.iso;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
/*
|
|
||||||
$.ajax({
|
|
||||||
url: createURL("listIsos&isReady=true&bootable=true&isofilter=executable&zoneid="+args.currentData.zoneid),
|
|
||||||
dataType: "json",
|
|
||||||
async: false,
|
|
||||||
success: function(json) {
|
|
||||||
isoObjs = json.listisosresponse.iso;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
args.response.success({
|
args.response.success({
|
||||||
hypervisor: {
|
hypervisor: {
|
||||||
idField: 'name',
|
idField: 'name',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user