mirror of https://github.com/apache/cloudstack.git
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:
parent
0853aca36b
commit
86bb0055cd
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue