bug 9793: remove the thirdparty jar files, then size of cloudzone tar ball is reduced to 4M.

status 9793: resolved fixed
This commit is contained in:
Edison Su 2011-06-14 15:13:14 -04:00
parent e5833731f8
commit 0574b84e35
1 changed files with 3 additions and 2 deletions

View File

@ -622,7 +622,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
}
}
if (_sysvmISOPath == null) {
throw new ConfigurationException("Can't find system vm ISO");
s_logger.debug("Can't find system vm ISO");
}
}
@ -2263,7 +2263,8 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
if (vmSpec.getType() != VirtualMachine.Type.User) {
DiskDef iso = new DiskDef();
iso.defISODisk(_sysvmISOPath);
if (_sysvmISOPath != null)
iso.defISODisk(_sysvmISOPath);
vm.getDevices().addDevice(iso);
createPatchVbd(conn, vmName, vm, vmSpec);