Yeah, that’s a limitation of Ubuntu Core I believe.
You can do the exact same as above using a traditional Ubuntu Server image instead:
This will not require any account and should come with the LXD snap preinstalled but unconfigured (so you won’t need the initial remove/delete/unset commands in this post), the rest will behave the same.