bug 14202: cloudstack 3.0 UI - DeployVM wizard - select ISO step - only populate ISOs that are bootable.

This commit is contained in:
Jessica Wang 2012-03-21 14:12:47 -07:00
parent 76528f37f1
commit 54b89c78d8

View File

@ -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,23 +137,13 @@
} }
}); });
$.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: {