mirror of https://github.com/apache/cloudstack.git
there is more than one routing template now (VMWare has its own) so change the listVolumes filter to remove volumes for routing* templates
This commit is contained in:
parent
743f58fb0c
commit
68eb09114a
|
|
@ -4259,7 +4259,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
for(VolumeVO v:allVolumes)
|
||||
{
|
||||
VMTemplateVO template = _templateDao.findById(v.getTemplateId());
|
||||
if(template!=null && template.getUniqueName().equalsIgnoreCase("routing"))
|
||||
if(template!=null && template.getUniqueName().startsWith("routing"))
|
||||
{
|
||||
//do nothing
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue