mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix CS-15432 Failed to detach VMware tools ISO after VMware tools
installation RB: https://reviews.apache.org/r/5738/ Send-by: mice_xia@tcloudcomputing.com
This commit is contained in:
parent
71050bb37f
commit
576d093e9c
@ -2465,7 +2465,11 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
||||
if (cmd.isAttach()) {
|
||||
vmMo.mountToolsInstaller();
|
||||
} else {
|
||||
try{
|
||||
vmMo.unmountToolsInstaller();
|
||||
}catch(Throwable e){
|
||||
vmMo.detachIso(null);
|
||||
}
|
||||
}
|
||||
|
||||
return new Answer(cmd);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user