mirror of https://github.com/apache/cloudstack.git
Bug 14509 - Can't attach ISO to OVM guest instance
status 14509: resolved fixed reviewed-by: Edison
This commit is contained in:
parent
e862675aa9
commit
7b240988a7
|
|
@ -500,6 +500,10 @@ class OvmVm(OvmObject):
|
|||
scope = 'cfg'
|
||||
vmPath = OvmHost()._getVmPathFromPrimaryStorage(vmName)
|
||||
|
||||
vmType = OvmVm()._getVmTypeFromConfigFile(vmPath)
|
||||
if vmType != 'HVM':
|
||||
raise Exception("Only HVM supports attaching/detaching ISO")
|
||||
|
||||
if not isAttach:
|
||||
iso = ''
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue