With:
lxc launch images:ubuntu/22.04/desktop --vm --device root,size=9GB myvm --console=vga
the machine doesn’t boot, that is the boot process is stuck at the LXD container logo (actually I don’t know how to show the boot log in the console, tried without success sending several Fn key).
However:
lxc launch images:ubuntu/22.04/desktop --vm --device root,size=11GB myvm --console=vga
works fine.
Indeed when booting with no size defined the system partition is 10G in size.
It’s fine that the minimum partition size is 10GB, but I spent a fair amount of time trying to understand the issue. So, assuming that the issue is that you cannot define a root device with a smaller size than a given threshold, maybe let the user know with an error at launch?