File tree Expand file tree Collapse file tree
engine/storage/src/main/java/org/apache/cloudstack/storage/endpoint Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -400,10 +400,8 @@ public EndPoint select(DataObject object) {
400400 }
401401 if (object instanceof TemplateInfo ) {
402402 TemplateInfo tmplInfo = (TemplateInfo )object ;
403- if (tmplInfo .getTemplateType () == TemplateType .SYSTEM &&
404- (store .getScope ().getScopeType () == ScopeType .REGION ||
405- (store .getScope ().getScopeType () == ScopeType .ZONE && store .getScope ().getScopeId () == null ))) {
406- return LocalHostEndpoint .getEndpoint (); // for bootstrap system vm template downloading to region image store
403+ if (tmplInfo .getTemplateType () == TemplateType .SYSTEM ) {
404+ return LocalHostEndpoint .getEndpoint (); // for bootstrap system vm template downloading when no SSVM is available
407405 }
408406 }
409407 return null ;
You can’t perform that action at this time.
0 commit comments