diff --git a/src/middlewared/middlewared/plugins/virt/instance.py b/src/middlewared/middlewared/plugins/virt/instance.py index 89776e64c2a4c..6df34313d199d 100644 --- a/src/middlewared/middlewared/plugins/virt/instance.py +++ b/src/middlewared/middlewared/plugins/virt/instance.py @@ -275,7 +275,7 @@ async def image_choices(self, data): if alias not in choices: instance_types = set() for i in v['versions'].values(): - if 'incus.tar.xz' in i['items']: + if 'root.tar.xz' in i['items'] and 'desktop' not in v['aliases']: instance_types.add('CONTAINER') if 'disk.qcow2' in i['items']: instance_types.add('VM')