Summary: Adjust systemvm.iso path for KVM, due to packaging changes

Detail: Removing references to /usr/lib/cloud and /usr/lib64/cloud so that old
systemvm.iso files aren't found by accident. systemvm.iso should exist in
/usr/share/cloudstack-common/vms now.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360860243 -0700
This commit is contained in:
Marcus Sorensen 2013-02-14 09:44:03 -07:00
parent 0853aca36b
commit 86bb0055cd
1 changed files with 1 additions and 4 deletions

View File

@ -701,10 +701,7 @@ ServerResource {
_sysvmISOPath = (String) params.get("systemvm.iso.path");
if (_sysvmISOPath == null) {
String[] isoPaths = { "/usr/lib64/cloud/agent/vms/systemvm.iso",
"/usr/lib/cloud/agent/vms/systemvm.iso",
"/usr/lib64/cloud/common/vms/systemvm.iso",
"/usr/lib/cloud/common/vms/systemvm.iso" };
String[] isoPaths = {"/usr/share/cloudstack-common/vms/systemvm.iso"};
for (String isoPath : isoPaths) {
if (_storage.exists(isoPath)) {
_sysvmISOPath = isoPath;